- Joined
- Jun 25, 2007
- Messages
- 2
I'm working on a map, and I have game modes where towers that are constructed will have their acquisition range halved or set to the minimum. However I can't get either to work.
I can't see why this isn't working.
(I've checked my triggers with quest messages to make sure they all fire, and they do)
Code:
Manual Aim
Events
Player - Player 1 (Red) types a chat message containing ma as A substring
Conditions
(Substring((Entered chat string), 1, 1)) Equal to -
Actions
Trigger - Turn on Turn Acquisition Off <gen>
Quest - Display to (All players) the Quest Update message: |cFFFF0000MANUAL AI...
Trigger - Turn off (This trigger)
Code:
Turn Acquisition Off
Events
Unit - A unit Finishes construction
Conditions
Actions
Unit - Set (Constructed structure) acquisition range to 70.00
Code:
Limited Aim
Events
Player - Player 1 (Red) types a chat message containing la as A substring
Conditions
(Substring((Entered chat string), 1, 1)) Equal to -
Actions
Trigger - Turn on Turn Acquisition Down <gen>
Quest - Display to (All players) the Quest Update message: |cFFFF0000LIMITED A...
Trigger - Turn off (This trigger)
Code:
Turn Acquisition Down
Events
Unit - A unit Finishes construction
Conditions
Actions
Unit - Set (Constructed structure) acquisition range to ((Current acquisition range of (Constructed structure)) / 2.00)
I can't see why this isn't working.
(I've checked my triggers with quest messages to make sure they all fire, and they do)