Alright, I'm not that g---... I can't trigger. Happy?
I want some triggers that should look like:
A player types: "-name <Name>" and then if he types ":Hello!" You get:
Squidle: Hello!
How to do thiez?
A player types: "-replace <New Unit's name>", for example... I selected a Footman and want him to be replaced with a grunt, then I type: "-replace grunt"
I want some triggers that should look like:
A player types: "-name <Name>" and then if he types ":Hello!" You get:
Squidle: Hello!
How to do thiez?
-
Name Set
-
Events
-
Player - Player 1 (Red) types a chat message containing -name as A substring
-
-
Conditions
-
Actions
-
Set UnitName = (Entered chat string)
-
-
-
Action
-
Events
-
Player - Player 1 (Red) types a chat message containing : as A substring
-
-
Conditions
-
Actions
-
Game - Display to (All players) the text: (|cffffcc00 + (UnitName + (|r + (Entered chat string))))
-
-
A player types: "-replace <New Unit's name>", for example... I selected a Footman and want him to be replaced with a grunt, then I type: "-replace grunt"
-
Select Set
-
Events
-
Player - Player 1 (Red) Selects a unit
-
-
Conditions
-
Actions
-
Set S_Unit = (Triggering unit)
-
-
-
Action
-
Events
-
Player - Player 1 (Red) types a chat message containing -replace as A substring
-
-
Conditions
-
Actions
-
Unit - Replace S_Unit with a Grunt using The old unit's relative life and mana
-
-