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?
RawkBandMan Offline
Posting Freak

Posts: 1,146
Threads: 35
Joined: Nov 2010
Reputation: 5
#5
RE: Activate monster in other map when picking up item from a different map?

(09-14-2011, 03:39 AM)Xvideogamer720X Wrote:
(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.
Yes I believe that will work...

I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
09-15-2011, 02:26 PM
Find


Messages In This Thread
RE: Activate monster in other map when picking up item from a different map? - by RawkBandMan - 09-15-2011, 02:26 PM



Users browsing this thread: 1 Guest(s)