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
Enemy/NPC Events
Placeable Offline
Junior Member

Posts: 21
Threads: 2
Joined: Sep 2010
Reputation: 0
#1
Enemy/NPC Events

Hello!

I was wondering if there are any callback functions for specific NPC events, much like the area events like OnEnter/OnStart/OnExit etc.

Perhaps something similar for NPC monster like OnDeath, OnPlayerPerceive etc.

IF there are any such events could you fill me out? I didn't find anything on the HPL2 Documentation site. Basically I want to interrupt a Monster's waypoint/path node when he spots the player; since, at least for me, the monster behaves somewhat strange when he HAS a current waypoint, spots the player, but still insists on walking to the waypoint first. Giving him a funny behaviour.

Thanks in advance.
09-21-2010, 07:16 PM
Find


Messages In This Thread
Enemy/NPC Events - by Placeable - 09-21-2010, 07:16 PM
RE: Enemy/NPC Events - by Placeable - 09-22-2010, 09:22 AM



Users browsing this thread: 1 Guest(s)