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
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Gent will stop mid path

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.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
12-08-2016, 03:17 AM
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)