Scripts / [SOLVED] Enemy disappearing after death

Author
Message
Enzo1400
6
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 25th Jan 2024 15:14
Hello,

to make disappear the enemy after death, in GameGuru Classic, it's enough to add

CollisionOff(e)
Destroy(e)

in the exit function, for example, of ai_soldier.lua .

Do you know how to do this in GameGuru Max, please?

Thanks

The author of this post has marked a post as an answer.

Go to answer
PM
armedandhammered3
1
Years of Service
User Offline
Joined: 16th May 2023
Location:
Posted: 17th Mar 2024 12:45
Sure, use smallg's script. It's called fade_corpses.
Not sure if I am allowed to post it here but I have it. I got it from this discord as a matter of fact. If they pull it down look for scripts here by smallg and you will find it again. Let me know if it works out. Just add it to any object in the game level and set the delay time.
PM
armedandhammered3
1
Years of Service
User Offline
Joined: 16th May 2023
Location:
Posted: 17th Mar 2024 12:48 Edited at: 17th Mar 2024 12:50
https://forum.game-guru.com/thread/223461

This is in case it didn't show up for you. Just click the link and scroll to bottom of scripts you will see it. Then click it and scroll down so you can find the script.

PM
Enzo1400
6
Years of Service
User Offline
Joined: 26th Jul 2018
Location:
Posted: 11th Apr 2024 14:30
This post has been marked by the post author as the answer.
Thank you!
PM

Login to post a reply

Server time is: 2024-11-21 09:50:38
Your offset time is: 2024-11-21 09:50:38