Scripts / Enemy destroy after death with delay, some help!

Author
Message
lotgd
3D Media Maker
14
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 28th Feb 2017 17:23 Edited at: 28th Feb 2017 17:26
Original


Destroy Ok


Destroy with delay (not work)


Use a few days GG, and lua do not understand anything. help

My Pc Specs : Win10pro64bit /Msi z97 / i74770k / gtx1070 / 16gb ram / SSD 850Evo
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 28th Feb 2017 18:08
the engine will automatically remove bodies once you move away from them.
you can't run the exit(e) part of the script more than once (unless you called it again i guess) so a timer in there wouldn't really work anyway
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
lotgd
3D Media Maker
14
Years of Service
User Offline
Joined: 2nd Apr 2010
Location: italy
Posted: 1st Mar 2017 17:30
The enemies when they die, remain and create collision problems with the other enemies. the collisionoff not always work.
There is no solution to make them disappear after a few seconds?

My Pc Specs : Win10pro64bit /Msi z97 / i74770k / gtx1070 / 16gb ram / SSD 850Evo
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 1st Mar 2017 18:13
Quote: "The enemies when they die, remain and create collision problems with the other enemies"


In properties you've Collision end

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-12-23 03:17:07
Your offset time is: 2024-12-23 03:17:07