| 06-11-2005, 06:53 PM | #1 |
Ok, for my map Skirmish, I created a system that creates units for you of a type, I recently made it into button form and now it creates one of everything, turning it on does the same thing also. I know chat doesn't work. NOTE: I just noticed that the buttons for AutoCreate shouldn't be working because I forgot to set them up, but strangley, Auto Off turns it off, and Auto On has the same problem as the units. TRIGGERS AutoOffRed Events Player - Player 1 (Red) types a chat message containing -AutoCreate Off as An exact match Player - Player 1 (Red) types a chat message containing -AO as An exact match Conditions Actions Set AutoCreate_Red = 1 AutoOnRed Events Player - Player 1 (Red) types a chat message containing -AutoCreate On as An exact match Conditions Actions Set AutoCreate_Red = 0 UNITS FootmanRed Events Unit - A unit Begins casting an ability Player - Player 1 (Red) types a chat message containing -Auto Footman*** as An exact match Player - Player 1 (Red) types a chat message containing -AF*** as An exact match Conditions AutoCreate_Red Equal to 0 (Ability being cast) Equal to Footman*** ((Casting unit) is in (Units owned by Player 1 (Red))) Equal to True Actions Wait 2.00 seconds Unit - Order Stronghold 0014 <gen> to train/upgrade to a Footman*** Trigger - Run (This trigger) (checking conditions) ***Changes for each unit's trigger. |
| 06-11-2005, 08:01 PM | #2 |
what is the trigger trying to do? i notice a problem though, at the end of the last trigger, the trigger is run again, but it checks the conditions, and seeing as there is no casting unit setting the trigger off, it wont run |
| 06-12-2005, 01:22 AM | #3 |
alright, good point there... |
