Results 1 to 3 of 3

Thread: Save & autosave

  1. #1

    Unhappy

    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.

  2. #2

    Unhappy

    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.

  3. #3
    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 &#34;face1&#34;
    guy2 setFace &#34;face2&#34;
    guy3 setFace &#34;face3&#34;

    ~2
    goto &#34;Update&#34;

    exit[/QUOTE]<span id='postcolor'>

    Name it setFaces.sqs or whatever you like, and in the player&#39;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">&#91;&#93; exec &#34;setFaces.sqs&#34;[/QUOTE]<span id='postcolor'>

    Better than having a trigger + a guy.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •