Pyromancer
New Member
- Reaction score
- 16
ok, i got WE U, and i was making the save/load trigger using the sample they gave, but theirs a problem with the load trigger i think..... heres the functions:
please help
Pyromancer
Code:
Events:
Player - Player 1 (Red) types a chat message containing /load as A substring
Conditions:
Actions:
Custom script: local string udg_HeroCode (i dont know what that means...)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If Conditions: (Substring((Entered chat string), 6, 6)) Equal to (then black (thats what im having trouble with))
Then Actions: Set HeroCode = (Substring((Entered chat string, 7, (Length of (Entered chat string))))
Else Actions: Set HeroCode = (Substring((Entered chat string), 6, (Lenght of (Entered chat string))))
Advanced - Restore a hero with password HeroCode for (Triggering player) at the saved location
please help
Pyromancer