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
script dosen't work!!!
zecuro Offline
Member

Posts: 162
Threads: 33
Joined: Jul 2011
Reputation: 3
#9
RE: script dosen't work!!!

(08-05-2011, 10:48 AM)xtron Wrote:
(08-05-2011, 01:16 AM)zecuro Wrote:
(08-04-2011, 11:57 PM)xtron Wrote: The spacing doesn't realy matter I guess.

Double check names and see if there's any misstypings.

did you check the video its a desktop recorder iand i show you exactly what i've done its a short video

aaaaah, I were too lazy yesterday but I can do it now.
I tried your code and it worked pretty damn good.

Script:
void OnStart()
{
SetEntityConnectionStateChangeCallback("lever", "func_shelf");
}

void func_shelf(string &in asEntity, int alState)
{
if (alState == 1)
{
SetMoveObjectState("shelf",1.0f);
PlaySoundAtEntity("", "quest_completed.snt", "secret_door_move_1", 0, false);
return;
}
}

Click here to download the map
after all that complication i must say i rather just push a bookshelf is i more easy

08-05-2011, 07:05 PM
Find


Messages In This Thread
script dosen't work!!! - by zecuro - 08-04-2011, 04:58 PM
RE: script dosen't work!!! - by plutomaniac - 08-04-2011, 09:36 PM
RE: script dosen't work!!! - by zecuro - 08-04-2011, 09:39 PM
RE: script dosen't work!!! - by Tanshaydar - 08-04-2011, 09:43 PM
RE: script dosen't work!!! - by GreyFox - 08-04-2011, 09:59 PM
RE: script dosen't work!!! - by xtron - 08-04-2011, 11:57 PM
RE: script dosen't work!!! - by zecuro - 08-05-2011, 01:16 AM
RE: script dosen't work!!! - by xtron - 08-05-2011, 10:48 AM
RE: script dosen't work!!! - by zecuro - 08-05-2011, 07:05 PM



Users browsing this thread: 1 Guest(s)