IceWarrior98
New Member
- Reaction score
- 12
I am in need of some help with detecting movement. This is the code thusfar.
This is just to test the detection, but it doesn't seem to know that the ship is moving when it clearly is. Basically, when this is working I want it to remove 1 "charge" from the "engine" so when it reachs zero it will deplete and my stop engine trigger will fire. But I can't seem to figure this out. Can anyone please explain? And yes transport[1] is declared.
Code:
Drain Fuel
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of transport[1]) Equal to (Order(move))
Then - Actions
Player - Add 1 to Player 1 (Red) Current gold
Else - Actions
This is just to test the detection, but it doesn't seem to know that the ship is moving when it clearly is. Basically, when this is working I want it to remove 1 "charge" from the "engine" so when it reachs zero it will deplete and my stop engine trigger will fire. But I can't seem to figure this out. Can anyone please explain? And yes transport[1] is declared.