- Joined
- Aug 2, 2004
- Messages
- 703
ok this is the save trigger
and this is the load trigger
this is "hmmm"
and Mr.Maestro DO NOT post ur stupid little trigger FAQ lol cuz that doesnt work /w wat im trying to do
___________________________________________________
o ya and another thing, the "random integer" is always the same how can u fix that?
Events
Player - Player 1 (Red) types a chat message containing -save as An exact match
Conditions
Actions
Trigger - Run Hmmm <gen> (ignoring conditions)
Game Cache - Create a game cache from EC II.w3v
Game Cache - Store Code[1] as Code[1] of Codes in (Last created game cache)
Game Cache - Store Hero as Hero1 of Heros in (Last created game cache)
Game Cache - Save (Last created game cache)
Game - Display to (Player group((Triggering player))) for 90.00 seconds the text: (Your Code is: |c00990000 + (Code[1] + |r))
Game - Set the next level to Maps\Download\My Maps\Save Load System.w3x
and this is the load trigger
Load
Events
Player - Player 1 (Red) types a chat message containing -load as A substring
Conditions
(Length of (Entered chat string)) Greater than or equal to 6
(Length of (Entered chat string)) Less than or equal to 25
Actions
Set GameCache_Name[1] = (Substring((Entered chat string), 7, 25))
Game - Display to (Player group((Triggering player))) the text: Your Code Was Corre...
Game Cache - Create a game cache from EC II.w3v
Game Cache - Create a game cache from (Load GameCache_Name[1] of Codes from (Last created game cache))
Game Cache - Restore Hero1 of Heros from (Last created game cache) for Player 1 (Red) at (Center of (Playable map area)) facing 0.00
this is "hmmm"
Hmmm
Events
Conditions
Actions
Set Code[1] = ((String((Random integer number between 1000 and 9999))) + (- + ((String((Random integer number between 1000 and 9999))) + (- + ((String((Random integer number between 1000 and 9999))) + (- + (String((Random integer number between 1000 and 9999)))))))))
and Mr.Maestro DO NOT post ur stupid little trigger FAQ lol cuz that doesnt work /w wat im trying to do
___________________________________________________
o ya and another thing, the "random integer" is always the same how can u fix that?