The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Script Help Function doesn't get called after interaction
KingCrimson Offline
Junior Member

Posts: 45
Threads: 14
Joined: Jul 2012
Reputation: 0
#1
Function doesn't get called after interaction

I want my player to get teleported when he uses an altar knife on the floor. But when i interact with it, nothing happens. I leave you my .hps file so you can find the error:

Quote:////////////////////////////
// Run when the map starts
void OnStart()
{
void sleep(string& dreams, string& PlayerStartArea_1, string& asStartSound, string& asEndSound;
}

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

}

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

}
Thanks in advance

Current Projects:
DADDY - 10%
08-05-2012, 01:41 AM
Find


Messages In This Thread
Function doesn't get called after interaction - by KingCrimson - 08-05-2012, 01:41 AM



Users browsing this thread: 1 Guest(s)