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
HPS and extra_english.lang not working
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#10
RE: HPS and extra_english.lang not working

Have you even applied the callback function to the key? There are two ways of fixing this, either adding it into the key from the Level Editor or add it in through scripting.

void OnStart()
{
SetEntityCallbackFunc("key_din", "MonstAct1");
}

I think you'll also need to modify this too.

void MonstAct1(string &in asEntity, string &in asType)

//asType = basically explaining what the player is doing during this function. The main calls for this is //usually Pickup, Break or Ignite. In this case its Pickup.

Derp.
(This post was last modified: 03-13-2015, 09:10 AM by Neelke.)
03-13-2015, 09:08 AM
Find


Messages In This Thread
RE: HPS and extra_english.lang not working - by Neelke - 03-13-2015, 09:08 AM



Users browsing this thread: 1 Guest(s)