here i wanted to make a small duel system : the player write duel than the name of the hero exemple : Goku. both unit are teleported to the battle zone place. i am not very familiar with String usage and player even versus unit condition XD
i want it liek the duel player cannot duel himself -_- XD im not sure also if i did the best way any tips & suggestion are welcome
i want it liek the duel player cannot duel himself -_- XD im not sure also if i did the best way any tips & suggestion are welcome
-
Duel Int
-
Events
- Player - Player 1 (Red) types a chat message containing Duel as A substring
- Player - Player 2 (Blue) types a chat message containing Duel as A substring
- Player - Player 3 (Teal) types a chat message containing Duel as A substring
- Player - Player 4 (Purple) types a chat message containing Duel as A substring
- Player - Player 5 (Yellow) types a chat message containing Duel as A substring
- Player - Player 6 (Orange) types a chat message containing Duel as A substring
- Player - Player 7 (Green) types a chat message containing Duel as A substring
- Player - Player 8 (Pink) types a chat message containing Duel as A substring
- Player - Player 9 (Gray) types a chat message containing Duel as A substring
- Player - Player 10 (Light Blue) types a chat message containing Duel as A substring
- Player - Player 11 (Dark Green) types a chat message containing Duel as A substring
- Player - Player 12 (Brown) types a chat message containing Duel as A substring
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Entered chat string) Equal to (Substring(Goku, 6, 9))
- (Triggering player) Not equal to Player 1 (Red)
-
Then - Actions
- Unit - Move (Triggering unit) instantly to (Center of Region 136 <gen>), facing (Facing of unit31) degrees
- Unit - Move unit31 instantly to (Center of Region 135 <gen>), facing (Facing of (Triggering unit)) degrees
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Last edited: