Page 1 of 1
Condition trigger help
Posted: Sun Apr 24, 2011 4:02 pm
by BugMeNot
this is how it looks right now: Event:every 10 sec of game time
Condition:
Create 1 footman for player 1 red at center of region
I need a Condition for somthing like: Unit of type equal to Castle inside region else do nothing
If that doesnt work, please help with an idea!
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:05 pm
by 3ICE
What's it for?
Footy wars?
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:08 pm
by BugMeNot
nope a new map im creating. its a tournament series and i need spawns for each player but i need the condition for a region because i cant do unit comparison since players wont be in same position during the game
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:10 pm
by 3ICE
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:13 pm
by BugMeNot
umm thats confusing on my current world editor lvl lol. can u write that more in a gui form haha That makes good sence though
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:18 pm
by 3ICE
In GUI its on one line: for every castle - create 1 footman at positon of castle for owner of castle
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:22 pm
by BugMeNot
3ICE wrote:In GUI its on one line: for every castle - create 1 footman at positon of castle for owner of castle
so how will i create this spawn every 10 sec then if this is creating a single footman for each castle?
how can i make this work on a timing 10 second send?
Re: Condition trigger help
Posted: Sun Apr 24, 2011 4:42 pm
by 3ICE
Event: every 10 seconds.
Edit: answering second (doublepost) question:
Either:
order last created unit to attack-move to a point variable you set up at map init (goes inside the loop)
or:
pick every unit in region and order... (goes after the loop)