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
Problem with making notes
Giovanni Rosa Offline
Junior Member

Posts: 37
Threads: 5
Joined: Oct 2011
Reputation: 1
#9
RE: Problem with making notes

(02-13-2012, 07:23 PM)Symbi0sis Wrote: I have tried without numbers to, but it doesn't work either.

The .HPS file is in the .zip file as well, just unzip it.


////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "note_test01", "door1", "UsedKeyOnDoor", true);
}

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

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

also, your .lang isn't supposed to be in your maps folder. Put it where your custom_story_settings file is at. Do you even have a key? You didn't mention the key name in any of the scripts??

Join our blog!
(This post was last modified: 02-13-2012, 07:37 PM by Giovanni Rosa.)
02-13-2012, 07:34 PM
Website Find


Messages In This Thread
Problem with making notes - by Symbi0sis - 02-13-2012, 03:53 PM
RE: Problem with making notes - by flamez3 - 02-13-2012, 04:00 PM
RE: Problem with making notes - by Symbi0sis - 02-13-2012, 04:06 PM
RE: Problem with making notes - by onv - 02-13-2012, 05:03 PM
RE: Problem with making notes - by flamez3 - 02-13-2012, 05:16 PM
RE: Problem with making notes - by Symbi0sis - 02-13-2012, 06:13 PM
RE: Problem with making notes - by Giovanni Rosa - 02-13-2012, 07:10 PM
RE: Problem with making notes - by Symbi0sis - 02-13-2012, 07:23 PM
RE: Problem with making notes - by Giovanni Rosa - 02-13-2012, 07:34 PM
RE: Problem with making notes - by Symbi0sis - 02-13-2012, 07:53 PM



Users browsing this thread: 3 Guest(s)