- Joined
- Nov 2, 2015
- Messages
- 164
Hi, Community.
Might be a tough one, but is it possible to create a loop when writing your skills, for example:
This repeats a mob spawn 30 times, spawning in 1 mob per second, underneath that line, I want something like this:
(Note: The above command is Denizen)
The problem I'm having at the moment, is that this counter is always at 1, no matter how many spawns there are (this count is also negated as mobs are killed).
I'm curious if there's a way to loop this without spawning a stupid amount of mobs. (I know you can call skills, I think this would be the way forward, but I'm not entirely sure, hence why I'm asking)
Cheers.
Might be a tough one, but is it possible to create a loop when writing your skills, for example:
Code:
- summon{type=Melee;radius=5;amount=1;repeat=30;repeatInterval=20} @self
This repeats a mob spawn 30 times, spawning in 1 mob per second, underneath that line, I want something like this:
Code:
- command{cmd="ex flag server raid_mob_count:+:1"} @self
(Note: The above command is Denizen)
The problem I'm having at the moment, is that this counter is always at 1, no matter how many spawns there are (this count is also negated as mobs are killed).
I'm curious if there's a way to loop this without spawning a stupid amount of mobs. (I know you can call skills, I think this would be the way forward, but I'm not entirely sure, hence why I'm asking)
Cheers.