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 [Solved, sort of] Grunt Not Disappearing
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: [Solved, sort of] Grunt Not Disappearing

The only thing I can think of is if the grunt is in sight. If the player can see the grunt, they won't just vanish at the end of the pathnode allocated. But you seem to compensate with the SetEntityActive script anyway.

I think in the Model Editor, there is an option in the grunt's settings to disable them at the end of their allocated pathnode path, something like AutoRemoveAtEnd. If that's true, then I don't see why it shouldn't vanish unless it is in the Player's vision.

Have you tried setting the grunt collision event alState (in the CollideCallback) to 0? So when it enters or leaves the script_area, it can disable it otherwise?

Till then, the timer is probably a good use to compensate.

Probably not much help, but just within my experiences.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
06-19-2014, 07:23 AM
Find


Messages In This Thread
RE: Grunt Not Disappearing - by Mudbill - 06-19-2014, 02:51 AM
RE: Grunt Not Disappearing - by MsHannerBananer - 06-19-2014, 03:15 AM
RE: [Solved, sort of] Grunt Not Disappearing - by Romulator - 06-19-2014, 07:23 AM



Users browsing this thread: 1 Guest(s)