Scripts / How can i Damage an Invisible Entity

Author
Message
js
9
Years of Service
User Offline
Joined: 24th Sep 2015
Location:
Posted: 1st Oct 2015 10:24
Hi, i just want to ask if there is a way to damage an entity that i have hidden using the function Hide(e) ,, because when it is not hidden , the hidden can take damage and it loses some of its health, however after i have added Hide(e) on that entity , that entity can no longer take any damage ,, is there any work around for this?
PM
js
9
Years of Service
User Offline
Joined: 24th Sep 2015
Location:
Posted: 1st Oct 2015 10:41
When i tried to pass through that Entity that is Hidden (wall entity) , i can't pass through however the bullets of my weapon can pass through that Entity that is hidden -.- ,,,
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 1st Oct 2015 19:04
yh it's a weird one i noticed before too, i haven't found a way to work-around it - it's probably a bug to be honest
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 3rd Oct 2015 01:48
Try adding notanoccluder = 0 and or canseethrough = 0 in the FPE file of that hidden entity. Then bullets are not supposed to go thru them. The statement is use in the fence objects in the scenery folder in the opposite way.

See if that helps.

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

Login to post a reply

Server time is: 2024-12-22 07:05:24
Your offset time is: 2024-12-22 07:05:24