• 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 and name creator

Status
Not open for further replies.
Level 1
Joined
Sep 15, 2005
Messages
1
ok im making a map were i want to save and load hero. and i would also like some way were you can type in like -name fred and it will chandged a units name.
 
Level 1
Joined
Sep 22, 2005
Messages
3
spooter said:
ok im making a map were i want to save and load hero. and i would also like some way were you can type in like -name fred and it will chandged a units name.

The load and save scheme is possable by using 'cache'

------------------------------------------------------------------------------------------------------------
How i would do it.
:!: Player chooses to save
First, store the unit
Let user know its saved

:!: Player chooses to load
Does player have a previous game 'cache' from your map?

Yes, check by setting play name as string, the compare to saved player name string
Load Unit from 'cache'

No, display message "No saves presant"
------------------------------------------------------------------------------------------------------------


It saves the unit on the plays PC in the warcraft Cashe files. Then you can do 2 things

Automaticly load the character, last position, health, stats, etc.

Make a new hero, but give play option to load

I dont really have the time to build on for you right now, but if you send the map to me some time next week, i might be able to do it for you. If not, the above should help the person who you do find to do it. [email protected] - email me the map alone next week

I dont think the changing name unit is possable. Sorry
 
Status
Not open for further replies.
Top