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
Making areas change each time you enter them
cook Offline
Member

Posts: 103
Threads: 6
Joined: Apr 2011
Reputation: 0
#1
Making areas change each time you enter them

Is it possible to do this without the use of keys? Like, is there any way I could set up a event to make a number change that's globally saved, and based on this number, a different set of callbacks are activated each time you enter the map - I know how to do the latter, but is saving a simple thing like a number possible globally(over numerous maps)?
06-08-2011, 03:40 PM
Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#2
RE: Making areas change each time you enter them

this should be what you are looking for:
void SetGlobalVarInt(string& asName, int alVal);
void AddGlobalVarInt(string& asName, int alVal);
int GetGlobalVarInt(string& asName);
(This post was last modified: 06-08-2011, 03:42 PM by Apjjm.)
06-08-2011, 03:41 PM
Find
cook Offline
Member

Posts: 103
Threads: 6
Joined: Apr 2011
Reputation: 0
#3
RE: Making areas change each time you enter them

Thanks a lot.
06-08-2011, 04:58 PM
Find




Users browsing this thread: 2 Guest(s)