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
Activate monster in other map when picking up item from a different map?
SonOfLiberty796 Offline
Senior Member

Posts: 371
Threads: 39
Joined: Aug 2011
Reputation: 2
#3
RE: Activate monster in other map when picking up item from a different map?

(09-14-2011, 03:36 AM)GraphicsKid Wrote: Global variables are your friend.
SetGlobalVarInt(string& asName, int alVal);

And let's not forget
GetGlobalVarInt(string& asName);
Ah, as I was roaming through the original Amnesia hps files, I was thinking it was that function.

However, do you think you can explain what I have to do with those script functions? I would love to know how to use them.

EDIT: Wait! Never mind, I didn't really need that script, I needed this:

void name(string &in asParent , string &in asChild , int alState)
{
if (HasItem("name")==true)
{
function
}
}

that should work hopefully.
(This post was last modified: 09-14-2011, 04:21 AM by SonOfLiberty796.)
09-14-2011, 03:39 AM
Find


Messages In This Thread
RE: Activate monster in other map when picking up item from a different map? - by SonOfLiberty796 - 09-14-2011, 03:39 AM



Users browsing this thread: 1 Guest(s)