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
Hpl 2 help
s2skafte Offline
Junior Member

Posts: 7
Threads: 2
Joined: Mar 2013
Reputation: 0
#6
RE: Hpl 2 help

uh i still get the same problem unexpected end of file.

full script so far.


void OnStart()
{
AddUseItemCallback("", "key_study_1", "Lockeddoor_1", "hello1", true);
AddUseItemCallback("", "key_tower_1", "Lockeddoor_2", "hello2", true);
}

void hello1(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundAtEntity("", "unlock_Lockeddoor_1", asEntity, 0, false);
RemoveItem(asItem);
}

void hello2(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(asEntity, false, true);
PlaySoundAtEntity("", "unlock_Lockeddoor_2", asEntity, 0, false);
RemoveItem(asItem);
}

{
void AddEntityCollideCallback("Player", "Script_slam", "Collideroomtwo", true, 1);
}

void Collideroomtwo(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("Door_2, true, true);
}
03-24-2013, 06:02 AM
Find


Messages In This Thread
Hpl 2 help - by s2skafte - 03-23-2013, 02:03 AM
RE: Hpl 2 help - by plutomaniac - 03-23-2013, 02:29 AM
RE: Hpl 2 help - by s2skafte - 03-23-2013, 05:33 AM
RE: Hpl 2 help - by NaxEla - 03-23-2013, 07:40 AM
RE: Hpl 2 help - by PutraenusAlivius - 03-23-2013, 06:49 AM
RE: Hpl 2 help - by s2skafte - 03-24-2013, 06:02 AM
RE: Hpl 2 help - by PutraenusAlivius - 03-24-2013, 06:10 AM
RE: Hpl 2 help - by s2skafte - 03-25-2013, 01:30 AM
RE: Hpl 2 help - by Your Computer - 03-25-2013, 01:53 AM
RE: Hpl 2 help - by s2skafte - 03-25-2013, 05:44 PM
RE: Hpl 2 help - by NaxEla - 03-25-2013, 05:35 AM
RE: Hpl 2 help - by NaxEla - 03-25-2013, 06:49 PM
RE: Hpl 2 help - by s2skafte - 03-25-2013, 09:34 PM
RE: Hpl 2 help - by s2skafte - 03-25-2013, 11:33 PM
RE: Hpl 2 help - by PutraenusAlivius - 03-26-2013, 06:30 AM



Users browsing this thread: 2 Guest(s)