bryanEX1993
New Member
- Reaction score
- 0
Urgent! +Rep! This code is unable to be saved into 1.24b. I do not know why either. I think it has to do with the custom script section. Help please.
Save
Events
Player - Player 1 (Red) types a chat message containing -save as An exact match
Player - Player 2 (Blue) types a chat message containing -save as An exact match
Player - Player 3 (Teal) types a chat message containing -save as An exact match
Player - Player 4 (Purple) types a chat message containing -save as An exact match
Player - Player 5 (Yellow) types a chat message containing -save as An exact match
Player - Player 6 (Orange) types a chat message containing -save as An exact match
Player - Player 7 (Green) types a chat message containing -save as An exact match
Player - Player 8 (Pink) types a chat message containing -save as An exact match
Conditions
Actions
Set SaveCount = 0
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Set SaveCount = (SaveCount + 1)
Set TempUnit = (Picked unit)
Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Unit2Integer( udg_TempUnit )
Set SaveCount = (SaveCount + 1)
Set Save[SaveCount] = (Hero level of (Picked unit))
Custom script: set udg_Code = SaveLoad_Encode()
Quest - Display to (Player group((Triggering player))) the Secret message: Your Code :
Game - Display to (Player group((Triggering player))) the text: Code
It keeps saying (Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Unit2Integer( udg_TempUnit ) ) has error.
Save
Events
Player - Player 1 (Red) types a chat message containing -save as An exact match
Player - Player 2 (Blue) types a chat message containing -save as An exact match
Player - Player 3 (Teal) types a chat message containing -save as An exact match
Player - Player 4 (Purple) types a chat message containing -save as An exact match
Player - Player 5 (Yellow) types a chat message containing -save as An exact match
Player - Player 6 (Orange) types a chat message containing -save as An exact match
Player - Player 7 (Green) types a chat message containing -save as An exact match
Player - Player 8 (Pink) types a chat message containing -save as An exact match
Conditions
Actions
Set SaveCount = 0
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Set SaveCount = (SaveCount + 1)
Set TempUnit = (Picked unit)
Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Unit2Integer( udg_TempUnit )
Set SaveCount = (SaveCount + 1)
Set Save[SaveCount] = (Hero level of (Picked unit))
Custom script: set udg_Code = SaveLoad_Encode()
Quest - Display to (Player group((Triggering player))) the Secret message: Your Code :
Game - Display to (Player group((Triggering player))) the text: Code
It keeps saying (Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Unit2Integer( udg_TempUnit ) ) has error.