B
BTripleC
Guest
I want to change a unit's life when it enters a region. My trigger is:
Upgrade
Events
Unit - A unit enters Region 007 <gen>
Conditions
Initial_Copy_Copy_Copy Equal to 1
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: Hellknight has grown stronger. He now has more hit points.
Unit - Set life of (Entering unit) to 175.00
Trigger - Turn off (This trigger)
The message in my trigger is displayed, but the entering unit's life does not change to 175. Initial_Copy_Copy_Copy is an integer on a leaderboard and that works fine, so I'm not sure why the unit life doesn't change. Any help would be appreciated.
Upgrade
Events
Unit - A unit enters Region 007 <gen>
Conditions
Initial_Copy_Copy_Copy Equal to 1
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: Hellknight has grown stronger. He now has more hit points.
Unit - Set life of (Entering unit) to 175.00
Trigger - Turn off (This trigger)
The message in my trigger is displayed, but the entering unit's life does not change to 175. Initial_Copy_Copy_Copy is an integer on a leaderboard and that works fine, so I'm not sure why the unit life doesn't change. Any help would be appreciated.


