Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Nic

Save & autosave

Recommended Posts

When I use autosave with scripting or when the player decides to save the game some problems occur. It seems like some of the things ive scripted the level to do gets forgotten. For example, when you first play the level soldiers have specific faces using the "setface" command....but when you load the level with "retry" or "load" it doesnt remember them, and just gives them random faces.

Thanks for any ideas.

Share this post


Link to post
Share on other sites

So has no one ever had this problem before or is it just that no one knows how to do anything about it. Im just curious if im all alone here on this one.

Ive solved the problem to an extent...I just have a guy constantly walk over a trigger that runs the setface script...but I shouldnt have to do that...It would be nice to know why exactly this problem is occuring.

Share this post


Link to post
Share on other sites

I think you'll have to use a script for that anyway. Test if this works...

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">#Update

guy1 setFace "face1"

guy2 setFace "face2"

guy3 setFace "face3"

~2

goto "Update"

exit<span id='postcolor'>

Name it setFaces.sqs or whatever you like, and in the player's init.field put the following.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "setFaces.sqs"<span id='postcolor'>

Better than having a trigger + a guy.

smile.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×