| 06-22-2004, 04:49 AM | #1 |
If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Items[(Player number of (Triggering player))] Equal to Farm Block ItemUsed[(Player number of (Triggering player))] Equal to False Then - Actions Set HasItem[(Player number of (Triggering player))] = False Trigger - Run ItemLead <gen> (ignoring conditions) Set ItemUsed[(Player number of (Triggering player))] = True Unit - Create 1 Black Farm for Player 10 (Light Blue) at ((Position of Unit[(Player number of (Triggering player))]) offset by ((((Cos((Facing of Unit[(Player number of (Triggering player))]))) + 180.00) x 36.00), (((Sin((Facing of Unit[(Player number of (Triggering player))]))) + 180.00) x 36.00))) facing Default building facing degrees Else - Actions Do nothing this is supposed to create a black farm right behind the UNIT (which is a variable with an array) but it isnt even creating the unit at all... strange... |
| 06-22-2004, 01:04 PM | #2 |
What event are you using ? cause only the events that begin with player can use triggering player |
