save/load and name creator

Status
Not open for further replies.

spooter

S

spooter

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.
 
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.
Back
Top