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 Gent will stop mid path
Demonbrant Offline
Junior Member

Posts: 19
Threads: 3
Joined: Nov 2016
Reputation: 0
#3
RE: Gent will stop mid path

(12-08-2016, 03:17 AM)Romulator Wrote: Use either of these. The first should disable everything, and the latter will disable it for a single enemy (the gent).

PHP Code: (Select All)
SetSanityDrainDisabled(bool abX);
SetEnemySanityDecreaseActive(string &in asNamebool abX); 

For the former problem (disappearing suddenly). If the player is too far away, or an enemy has hit its last pathnode and the player is not looking, they automatically disappear. You can change these settings in the Model Editor in the User Defined Variables for the gent model. I'm pretty certain they're right down the bottom; increase the max distance and there's a checkbox option for disappearing at the pathnode end if I recall.

Make sure also to disable the triggers for the gent. Otherwise, if it sees the player, it will go into Hunt mode, but will just be idle.

Thank you, this works! Smile
12-08-2016, 12:57 PM
Find


Messages In This Thread
Gent will stop mid path - by Demonbrant - 12-07-2016, 04:45 PM
RE: Gent will stop mid path - by Romulator - 12-08-2016, 03:17 AM
RE: Gent will stop mid path - by Demonbrant - 12-08-2016, 12:57 PM
RE: Gent will stop mid path - by Romulator - 12-08-2016, 02:11 PM



Users browsing this thread: 1 Guest(s)