so i have a trigger that makes it so that if a player types in a chat message, and is in a specific location, then something will happen.
i currently have it set up like this:
any help is appreciated.
i currently have it set up like this:
-
Trigger Dark Green
-
Events
-
Player - Player 11 (Dark Green) types a chat message containing chatmessage as An exact match
-
-
Conditions
-
integer Greater than or equal to 1
-
-
Actions
-
action here
-
-
-
DarkGreen Exit
-
Events
-
Unit - A unit leaves area <gen>
-
-
Conditions
-
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
-
-
Actions
-
Set integer = (integer - 1)
-
-
-
DarkGreen Enter
-
Events
-
Unit - A unit enters area <gen>
-
-
Conditions
-
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
-
-
Actions
-
Set integer = (integer + 1)
-
-
any help is appreciated.