- Joined
- Oct 17, 2007
- Messages
- 22
I have the range of my unit set to 20,000 and the acquisition range of my unit set to 110 at the beginning of the game.
When he picks up and item, here is the trigger:
Sniper Rifle Pickup
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sniper Rifle
Actions
Unit - Set (Hero manipulating item) acquisition range to 2000.00
Unit - Add Sniper Speed Reduction (-4) to (Hero manipulating item)
Unit - Add Sniper Damage Bonus (+350) to (Hero manipulating item)
The acquisition range of the unit will not change in game. The second and third action work properly while the first does not.
If I change the acquisition range when I'm in the editor mode and then test the game, it will change. I can set it to 700 and it will be 700 in game. However, when I do it with triggers, it will not change.
Any idea how to change it or why this is not working?
When he picks up and item, here is the trigger:
Sniper Rifle Pickup
Events
Unit - A unit owned by Player 1 (Red) Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sniper Rifle
Actions
Unit - Set (Hero manipulating item) acquisition range to 2000.00
Unit - Add Sniper Speed Reduction (-4) to (Hero manipulating item)
Unit - Add Sniper Damage Bonus (+350) to (Hero manipulating item)
The acquisition range of the unit will not change in game. The second and third action work properly while the first does not.
If I change the acquisition range when I'm in the editor mode and then test the game, it will change. I can set it to 700 and it will be 700 in game. However, when I do it with triggers, it will not change.
Any idea how to change it or why this is not working?