Kelphy
New Member
- Reaction score
- 0
I want to when player enters chat message it will change the heroes level with the integer entered.
Events:
Player - Player 6 (Orange) types a chat message containing "*" as A substring
Conditions:
Actions
Set Level = (Integer((Entered chat string)))
Set EXP = Level
Unit Group - Pick every unit in (Units currently selected by Player 6 (Orange)) and do (Hero - Set (Picked unit) Hero -level to EXP, Hide level-up graphics)
So far I have noticed that script works perfectly if I
"Player - Player 6 (Orange) types a chat message containing 5000 as A substring"
the issue is that I can not figure out how to have it set as
"Player - Player 6 (Orange) types a chat message containing anything as A substring"
Sorry the answer is probably very simple I just have never had much experience in triggers on Warcraft 3 World Editor honestly.
Events:
Player - Player 6 (Orange) types a chat message containing "*" as A substring
Conditions:
Actions
Set Level = (Integer((Entered chat string)))
Set EXP = Level
Unit Group - Pick every unit in (Units currently selected by Player 6 (Orange)) and do (Hero - Set (Picked unit) Hero -level to EXP, Hide level-up graphics)
So far I have noticed that script works perfectly if I
"Player - Player 6 (Orange) types a chat message containing 5000 as A substring"
the issue is that I can not figure out how to have it set as
"Player - Player 6 (Orange) types a chat message containing anything as A substring"
Sorry the answer is probably very simple I just have never had much experience in triggers on Warcraft 3 World Editor honestly.