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
Amnesia editor ERROR IN HPS FILE!
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#2
RE: Amnesia editor ERROR IN HPS FILE!

(02-08-2014, 04:05 PM)LienCraft Wrote: {
SetEntityPlayerInteractCallback("Key1", "ActivateMonster", true);

AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);
}

These brackets are not connected to a function. Are they supposed to be in the OnStart() function maybe?

PHP Code: (Select All)
void OnStart()
{
SetEntityPlayerInteractCallback("Key1""ActivateMonster"true);

AddEntityCollideCallback("Player""PlayerCollide""MonsterFunction"true1);


Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
(This post was last modified: 02-08-2014, 04:10 PM by Wapez.)
02-08-2014, 04:08 PM
Find


Messages In This Thread
Amnesia editor ERROR IN HPS FILE! - by LienCraft - 02-08-2014, 04:05 PM
RE: Amnesia editor ERROR IN HPS FILE! - by Wapez - 02-08-2014, 04:08 PM



Users browsing this thread: 1 Guest(s)