The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global variables in SOMA
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#1
Global variables in SOMA

Hello ppl, I'm having trouble making global variables to share values across levels.
As soon as I change the level all the variables from every imported script get reset.
Can we declare variables as static or something?
Thx.

07-10-2016, 11:36 PM
Find


Messages In This Thread
Global variables in SOMA - by Daemian - 07-10-2016, 11:36 PM
RE: Global variables in SOMA - by Abion47 - 07-10-2016, 11:49 PM
RE: Global variables in SOMA - by Daemian - 07-10-2016, 11:55 PM
RE: Global variables in SOMA - by Daemian - 07-11-2016, 02:50 AM
RE: Global variables in SOMA - by Abion47 - 07-11-2016, 03:28 AM
RE: Global variables in SOMA - by Daemian - 07-11-2016, 05:24 AM



Users browsing this thread: 1 Guest(s)