jackall
You can change this now in User CP.
- Reaction score
- 37
i got this system, made by me so far
dont worry about force leaks, i dont get it why it wont load a hero
it generates a code, shows it, but if i try to load that hero it wont work
also, i dont want to use ANYONES system/code
i know its not MPI but thats not the point of this thread
Trigger:
- save
- Events
- Conditions
- Actions
- Set SLSelectedHero = (Units currently selected by (Triggering player))
- Unit Group - Pick every unit in SLSelectedHero and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is A Hero) Equal to True
- Then - Actions
- Set SLPart1 = ((SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))) + (SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))))
- Set SLPart2 = ((SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))) + (SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))))
- Set SLPart3 = ((SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))) + (SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))))
- Set SLPart4 = ((SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))) + (SLLetters[(Random integer number between 1 and 42)] + (String(SLDigits[(Random integer number between 0 and 9)]))))
- Set SLNumberOfHeroes = ((Load herocount of (Name of (Triggering player)) from SLCache) + 1)
- Set SLLoadCode = ((SLPart1 + SLPart2) + (SLPart3 + (SLPart4 + (String(SLNumberOfHeroes)))))
- Set SLCodeToShow = (((SLPart1 + - ) + (SLPart2 + - )) + ((SLPart3 + - ) + (SLPart4 + (String(SLNumberOfHeroes)))))
- Game Cache - Store SLNumberOfHeroes as herocount of (Name of (Triggering player)) in SLCache
- Game Cache - Store SLLoadCode as (code + (String(SLNumberOfHeroes))) of (Name of (Triggering player)) in SLCache
- Game Cache - Store (Picked unit) as (hero + (String(SLNumberOfHeroes))) of (Name of (Triggering player)) in SLCache
- Game - Display to (All players) for 60.00 seconds the text: SLCodeToShow
- Game - Display to (All players) the text: (String((Load herocount of (Name of (Triggering player)) from SLCache)))
- Game - Display to (All players) the text: (String(SLNumberOfHeroes))
- Game Cache - Save SLCache
- Custom script: call DestroyGroup(udg_SLSelectedHero)
- Else - Actions
- Game - Display to (All players) the text: Select your hero fi...
- Custom script: call DestroyGroup(udg_SLSelectedHero)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
Trigger:
- load
- Events
- Conditions
- Actions
- Set SLLoadMessage = (Substring((Entered chat string), 6, (Length of (Entered chat string))))
- For each (Integer A) from 1 to (Load herocount of (Name of (Triggering player)) from SLCache), do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- SLLoadMessage Equal to (Load (code + (String((Integer A)))) of (Name of (Triggering player)) from SLCache)
- Then - Actions
- Set SLRestorePoint = ((Triggering player) start location)
- Game Cache - Restore (hero + (String((Integer A)))) of (Name of (Triggering player)) from SLCache for Player 1 (Red) at SLRestorePoint facing Default building facing
- Custom script: call RemoveLocation(udg_SLRestorePoint)
- Else - Actions
- Game - Display to (All players) the text: The code is invalid...
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
dont worry about force leaks, i dont get it why it wont load a hero
it generates a code, shows it, but if i try to load that hero it wont work
also, i dont want to use ANYONES system/code
i know its not MPI but thats not the point of this thread