Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making An Acid
clock123 Offline
Member

Posts: 76
Threads: 18
Joined: Jul 2011
Reputation: 0
#10
RE: Making An Acid

Alright... nevermind the acid.. I'll try making it later, perhaps I'll ask the wiki to make tutorial for this.

I got new problem, When ever I try making a shelf which moves by lever, then when I go-ingame and press to start the custom map it crashes, maybe I did something wrong?

Spoiler below!
void OnStart()
{
SetEntityConnectionStateChangeCallback("Moveablebook1", "func_shelf");
}


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

{
AddUseItemCallback("", "Key1", "Door1", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Door1", false, true);
PlaySoundAtEntity("", "unlock_door", "door1", 0, false);
RemoveItem("Key1");
}

07-26-2011, 12:33 PM
Find


Messages In This Thread
Making An Acid - by clock123 - 07-25-2011, 08:04 PM
RE: Making An Acid - by Kyle - 07-25-2011, 09:00 PM
RE: Making An Acid - by JoeBradleyUK - 07-25-2011, 09:16 PM
RE: Making An Acid - by Kyle - 07-25-2011, 09:17 PM
RE: Making An Acid - by clock123 - 07-25-2011, 09:08 PM
RE: Making An Acid - by Kyle - 07-25-2011, 09:14 PM
RE: Making An Acid - by clock123 - 07-26-2011, 07:55 AM
RE: Making An Acid - by Tanshaydar - 07-26-2011, 08:35 AM
RE: Making An Acid - by clock123 - 07-26-2011, 11:29 AM
RE: Making An Acid - by clock123 - 07-26-2011, 12:33 PM
RE: Making An Acid - by Khyrpa - 07-26-2011, 12:48 PM



Users browsing this thread: 3 Guest(s)