• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to 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?
 
Remember to do this:
untitled12et.gif
 
-=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:
 
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.
Back
Top