Frictional Games Forum (read-only)

Full Version: Make grunt permanent ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, i'm new here.
i have this grunt monster patrolling on a cell and he sometimes disappear when player goes away.
is there a way to stop this? like a function SetEnemyPermanent ?
thank u all
Nope.

You'll have to use your imagination for this. One way is to have a script area right before each patrolpoint, which adds another AddEnemyPatrolNode. This way he gets looped and won't disappear. It's a bit of a slap to the balls but it's pretty much the only way I know of.

Because he won't disappear if he still has code active.
You could try opening him in the Model Editor, going to Edit > User Defined Settings and raising the Activation Distance. Save him as a new .ent in your custom story folder and load him up in your level editor.
thank u guys, great answers. but i already tried all that, look this image

[Image: o9ihcj.jpg]

on that marked node the grunt disappears about %80 of times he patrolls there. as if darkness ate him.
those 2 areas trigger the same function that reminds the grunt his 2 nodes, so he can patrol forever.


[Image: s49thh.jpg]
"say" is just a short function i did that shows a debug message.
when uncommented it shows it's working ok.
but suddenly it stops. when i check inside the cell, the grunt is gone.

if the player can see him, it never disappears. but i can't force the player to stay close just for that. T_T

(12-07-2012, 08:41 PM)Statyk Wrote: [ -> ]You could try opening him in the Model Editor, going to Edit > User Defined Settings and raising the Activation Distance. Save him as a new .ent in your custom story folder and load him up in your level editor.
i'm gonna have to do that. ty
Offtopic:

I really like the picture. I'd like to see the final cs Big Grin