• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Save/Load code help.

Status
Not open for further replies.
Level 2
Joined
Feb 23, 2006
Messages
11
I am currently using Emergenzys Save/Load code system. His system supports 12 heroes, but he said you can increase the number of heroes. So I did this:
Set_SaveHero[13]= blahblah(heroname)
And I set up all 3 random codes for the hero code generator under where it says
Set_CodeHeroCode01[13]=afb
Set_CodeHeroCode02[13]=nbs
Set_CodeHeroCode03[13]=dfs

When I tested this in game, it doesnt show up as an invalid code, but it doesn't load the hero either.
Do I have to edit any triggers in the main Save trigger or main load trigger to allow it to load my hero?
 
Level 12
Joined
Jul 2, 2004
Messages
471
Remember to do this:
untitled12et.gif
 
Level 2
Joined
Feb 23, 2006
Messages
11
-=Emergenzy=- said:
It's nice to see people use my system.

Remember also to do this or it wont check your hero type.

Thanks man, also do you know a trigger I can use so that people cannot load multiple times? Like when I load my character I can keep loading it an infinate ammount of times :oops:
 
Level 12
Joined
Jul 2, 2004
Messages
471
New Variable

Load_OnlyOneTime Boolean Array

Add this trigger to the start of the load trigger:

If (All Conditions are True) then do (Then

Actions) else do (Else Actions)
If - Conditions
Load_OnlyOneTime[(Player number of (Triggering player))] Equal to True
Then - Actions
Skip remaining actions
Else - Actions


And add this trigger at the end of the load trigger:

Set Load_OnlyOneTime[(Player number of (Triggering player))] = True



This should do it. I have not tested it, but i should work. Good luck.
 
Status
Not open for further replies.
Top