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
Need help with my script!!!!!
Tomato Cat Offline
Senior Member

Posts: 287
Threads: 2
Joined: Sep 2012
Reputation: 20
#2
RE: Need help with my script!!!!!

Remove one of these brackets:

PHP Code: (Select All)
void OnStart()
{



And one of these:

PHP Code: (Select All)
void OpenDoor2(string &in asItemstring &in asEntity)
//Close up this space here. The compiler probably doesn't care, it's just good form
{
SetSwingDoorLocked("Door1"falsetrue);
PlaySoundAtEntity("""unlock_door""Door1"0false);
RemoveItem(DoorKey);
}

//This one 


This, also:

PHP Code: (Select All)
void ActivateBildeShow(string &in asParentstring &in asChildint alState)
//This space, as well
{
AddPropForce("Bilde1", -100000"world");
SetPlayerSanity(10);


There might be more, but try that and see what happens.
(This post was last modified: 05-05-2013, 05:40 PM by Tomato Cat.)
05-05-2013, 05:39 PM
Find


Messages In This Thread
Need help with my script!!!!! - by MrNord94 - 05-05-2013, 04:58 PM
RE: Need help with my script!!!!! - by Tomato Cat - 05-05-2013, 05:39 PM



Users browsing this thread: 1 Guest(s)