Scripts / How to destroy an Entity?

Author
Message
js
9
Years of Service
User Offline
Joined: 24th Sep 2015
Location:
Posted: 24th Sep 2015 13:21 Edited at: 24th Sep 2015 13:38
Hi , can someone help me in making a script in order to destroy or make my entity disappear after being hit by a bullet ???

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 24th Sep 2015 13:26 Edited at: 24th Sep 2015 13:26
Please be patient as all new user posts are on moderator approval.
Deleting the duplicate thread.
Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 24th Sep 2015 16:01
in the fpe file check for this , or add these lines.

;statistics
strength = 25
explodable = 1
debrisshape = 1


Harry
Harry
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 24th Sep 2015 18:20
make the object dynamic and give it this script
target.lua
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
js
9
Years of Service
User Offline
Joined: 24th Sep 2015
Location:
Posted: 24th Sep 2015 19:26
thanks!,
PM

Login to post a reply

Server time is: 2024-12-22 06:38:26
Your offset time is: 2024-12-22 06:38:26