• 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.

-save/-load System?

Status
Not open for further replies.

ZXD

ZXD

Level 2
Joined
Dec 11, 2007
Messages
11
So i was wondering, if theres a -save/-load system, but not a normal one,
one which can save what spells were learned by the player, similary to Defiance's Save system. One that would even save , spells learned in the spellbook.

Anybody knows such?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
If you want to save spells in a spell-book, there's an easier way:
Save the level of the hero and then learn the spell-book, set the spells in the spell-book so they are automatically learned at a specific level.
That way you don't need the abilities to save, but only the hero level.

There are plenty of good save/load systems out there, go find one that suits you ^^
 

ZXD

ZXD

Level 2
Joined
Dec 11, 2007
Messages
11
I want to make spells being dropped by mobs. i dont wanna have people run around and auto learn them on levelup , its lame. :l
Thats why i need some system that can save spells learned in spellbook. And by spellbook, i dont mean that big red + .
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
You could save spells as integers.
For example when the value (array is for player):

FirstSpell[1] = 394

So 394 = Firebolt.
Just make a huge list of integers and spells.

If FirstSpell[1] = 78
Then learn Blizzard (as blizzard would be 78)

You will have huge triggers but this is one way.
 
Status
Not open for further replies.
Top