1. Please help us cover the costs of Terra-Arcanum's migration to Xenforo, Guest! More information is available here.

Story state in global variable doesn't work

Discussion in 'Modding and Scripting Support' started by The Pigeon, Aug 12, 2012.

Support Terra
Arcanum:
Good Old Games
 
 
  1. The Pigeon

    The Pigeon Member

    Messages:
    257
    Likes Received:
    0
    Joined:
    Nov 28, 2007
    I've stored the story state in global variable 1, but when I change global var 1, the new text doesn't appear in loading screens. It remains the previous state's text. Does anyone know why that might be?
     
  2. Nataku

    Nataku Member

    Messages:
    215
    Likes Received:
    0
    Joined:
    Jun 19, 2011
    The problem is easy (I believe).
    Store a value is juste for test it (check if the player is at a certain point of the stotry for use the story states as examples).
    To change the story state, you have a special script line :
    story state set to (num).
    The story state will become the number between brackets.
    (Sorry to answer after several weeks, I was in Japan)
     
  3. The Pigeon

    The Pigeon Member

    Messages:
    257
    Likes Received:
    0
    Joined:
    Nov 28, 2007
    No worries, I ended up trying that myself and got it working. Thanks anyway though! :)
     
  4. RunAwayScientist

    RunAwayScientist New Member

    Messages:
    579
    Likes Received:
    2
    Joined:
    Apr 20, 2003
    One never uses global variable 01. It is strictly forbidden.
     
  5. Nataku

    Nataku Member

    Messages:
    215
    Likes Received:
    0
    Joined:
    Jun 19, 2011
    I disagree, I used it and there is no matter 0:)
     
  6. RunAwayScientist

    RunAwayScientist New Member

    Messages:
    579
    Likes Received:
    2
    Joined:
    Apr 20, 2003
    My god man, what have you done?! The very fabric of space time as we know it will be henceforth ruptured.
     
  7. Nataku

    Nataku Member

    Messages:
    215
    Likes Received:
    0
    Joined:
    Jun 19, 2011
    I create a module, that kinda action always changes the elemental laws of our world :partyhat:
     
  8. RunAwayScientist

    RunAwayScientist New Member

    Messages:
    579
    Likes Received:
    2
    Joined:
    Apr 20, 2003
    Only if you throw in a loop divide by zero into the mod somewhere, naturally.
     

Share This Page