B
boxx0r
Guest
Hi all, I've run into some pretty basic trouble with these triggers I'm trying to make for my TD. I'm trying to make it so that when red's hero picks up the "level 1" item in front of him, level 1 starts. I thought I got this right, but apparently not because it's not working.
Anybody know where I went wrong?
Code:
St Level
Events
Unit - Leveler 0003 <gen> Acquires an item
Conditions
((Owner of (Item carried by Leveler 0003 <gen> in slot 1)) controller) Equal to (Player 1 (Red) controller)
(Item-type of (Item carried by Leveler 0003 <gen> in slot 1)) Equal to Level 1
Actions
Trigger - Run Level 1 <gen> (checking conditions)
Code:
item
Events
Unit - Leveler 0003 <gen> Acquires an item
Conditions
((Owner of (Item carried by Leveler 0003 <gen> in slot 1)) controller) Equal to (Player 1 (Red) controller)
(Item-type of (Item carried by Leveler 0003 <gen> in slot 1)) Equal to Level 1
Actions
Wait 0.50 seconds
Item - Remove (Item carried by Leveler 0003 <gen> in slot 1)
Code:
Level 1
Events
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Unit - Create 1 LEVEL 1 for Player 12 (Brown) at (Center of Region 000 <gen>) facing Default building facing degrees
Wait 0.20 seconds
Anybody know where I went wrong?