[Search] [FAQ] [Register] [Login] [Usergroups] [Members] [Rules]
[Terra Arcanum] [Forums] [Gallery] [Downloads] [Troikapedia] [Arcanum Wikia] [Troika Games]
 
Support Terra
Arcanum:
Good Old Games
 
 


Post new topic Reply to topic  [ 8 posts ] 
Author Message
 PostPosted: Sun Aug 12, 2012 12:30 pm Post subject:  Story state in global variable doesn't work
 
Lord

Joined: Nov 28, 2007
Posts: 255
Location: Not where you'd think
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?


Top
 Profile  
 PostPosted: Tue Aug 28, 2012 9:34 pm Post subject: 
 
Master
User avatar

Joined: Jun 19, 2011
Posts: 211
Location: Marseille, France
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)

_________________
"Pray for the children you lost along the way
Still remember the names and faces…
Cold and abandoned they cry, their fate put in your hands.
When it’s over they come to haunt you…"

Download my module, CrossRoad, here :
--->https://drive.google.com/folderview?id=0B1iMAY0PAfUCWmJYbnNTbXE0ZlU&usp=sharing<---


Top
 Profile  
 PostPosted: Wed Aug 29, 2012 12:58 pm Post subject: 
 
Lord

Joined: Nov 28, 2007
Posts: 255
Location: Not where you'd think
No worries, I ended up trying that myself and got it working. Thanks anyway though! :)


Top
 Profile  
 PostPosted: Sat Jan 26, 2013 12:00 pm Post subject:  Re: Story state in global variable doesn't work
 
Water Merchant
User avatar

Joined: Apr 20, 2003
Posts: 579
One never uses global variable 01. It is strictly forbidden.


Top
 Profile  
 PostPosted: Sat Jan 26, 2013 8:38 pm Post subject:  Re: Story state in global variable doesn't work
 
Master
User avatar

Joined: Jun 19, 2011
Posts: 211
Location: Marseille, France
RunAwayScientist wrote:
One never uses global variable 01. It is strictly forbidden.


I disagree, I used it and there is no matter 0:-)

_________________
"Pray for the children you lost along the way
Still remember the names and faces…
Cold and abandoned they cry, their fate put in your hands.
When it’s over they come to haunt you…"

Download my module, CrossRoad, here :
--->https://drive.google.com/folderview?id=0B1iMAY0PAfUCWmJYbnNTbXE0ZlU&usp=sharing<---


Top
 Profile  
 PostPosted: Tue Jan 29, 2013 2:17 am Post subject:  Re: Story state in global variable doesn't work
 
Water Merchant
User avatar

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


Top
 Profile  
 PostPosted: Tue Jan 29, 2013 10:41 am Post subject:  Re: Story state in global variable doesn't work
 
Master
User avatar

Joined: Jun 19, 2011
Posts: 211
Location: Marseille, France
RunAwayScientist wrote:
My god man, what have you done?! The very fabric of space time as we know it will be henceforth ruptured.


I create a module, that kinda action always changes the elemental laws of our world :partyhat:

_________________
"Pray for the children you lost along the way
Still remember the names and faces…
Cold and abandoned they cry, their fate put in your hands.
When it’s over they come to haunt you…"

Download my module, CrossRoad, here :
--->https://drive.google.com/folderview?id=0B1iMAY0PAfUCWmJYbnNTbXE0ZlU&usp=sharing<---


Top
 Profile  
 PostPosted: Wed Jan 30, 2013 3:39 am Post subject: 
 
Water Merchant
User avatar

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


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group