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
InteractCallback problem
pawsUp1703 Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jan 2011
Reputation: 0
#1
InteractCallback problem

Hey soory to ask againf or help.. I'm such a noob.. yeah but i started three days ago with teh editor so.. Big Grin

I have a key. when it's picked up i want something to happen.
This is my script for this so far:

SetEntityPlayerInteractCallback("cellarkey2", "fear1", true);

void fear1(string &in asParent, string &in asChild, int alState)
{
    SetLampLit("torch_static01_5", false, true);
    SetLampLit("torch_static01_6", false, true);
    SetLightVisible("PointLight_11", false);
    GiveSanityDamage(20.0f, true);
}

I hope someoen can help me^^

It doesn't matter if you love him, or capital H.I.M.
Just put your Paws Up, 'cause you were Born This Way baby!
01-08-2011, 01:21 PM
Find


Messages In This Thread
InteractCallback problem - by pawsUp1703 - 01-08-2011, 01:21 PM
RE: InteractCallback problem - by Russ Money - 01-08-2011, 01:24 PM
RE: InteractCallback problem - by pawsUp1703 - 01-08-2011, 01:41 PM



Users browsing this thread: 1 Guest(s)