- Joined
- Nov 13, 2007
- Messages
- 99
Hello guys, I'm trying to make car washing trigger. It only works when the car is damaged and car washing basically heals the car. Here is the trigger:
At first i'm trying to:
1)When the owner of the car has at least 1000 or more money, he can go into the healing spot. Then the trigger changes the color so that the car can't be moved by the owner. Then after the healing is done, the car is then move back outside. I actually want that to happen, but it doesn't really work. Something must've happen to the trigger. Please help!
-
Checking
-
Events
- Unit - A unit enters Washing Time <gen>
-
Conditions
- ((Owner of (Entering unit)) Current gold) Greater than or equal to 1000
- (Race of (Entering unit)) Equal to Demon
-
Actions
- Trigger - Turn on Car Washing <gen>
-
Events
- ----
-
Car Washing
- Events
- Conditions
-
Actions
- Unit - Set the custom value of (Last created unit) to (Player number of (Triggering player))
- Player - Add -1000 to (Owner of (Entering unit)) Current gold
- Unit - Move (Entering unit) instantly to (Center of Time to Repair <gen>), facing Default building facing degrees
- Unit - Change ownership of (Entering unit) to Player 10 (Light Blue) and Retain color
- Wait 30.00 seconds
- Trigger - Turn on Wash <gen>
- ----
-
Wash
- Events
- Conditions
-
Actions
- Unit - Move (Entering unit) instantly to (Center of Drying <gen>), facing Default building facing degrees
- Unit - Change ownership of (Last created unit) to (Player((Custom value of (Last created unit)))) and Retain color
At first i'm trying to:
1)When the owner of the car has at least 1000 or more money, he can go into the healing spot. Then the trigger changes the color so that the car can't be moved by the owner. Then after the healing is done, the car is then move back outside. I actually want that to happen, but it doesn't really work. Something must've happen to the trigger. Please help!
Last edited: