Home   Help Search Login Register  

Author Topic: Just small questions?  (Read 6519 times)

0 Members and 1 Guest are viewing this topic.

Offline GW

  • ofp cadet
  • Members
  • *
  • The great Himalaya
Re: Just small questions?
« Reply #30 on: 21 Apr 2011, 21:44:06 »
@walter

i try this

make a sqs file of name  deaddude.sqs


than copy all this inside the fall

Quote
_corpse = _this select 0

~120    <--- time in seconds that corpses are set to remain

@player distance _corpse > 300   <--- distance in metres player has to be away for body to be removed

deleteVehicle _corpse

exit

as you said ,i put this script under officer

for a group:
morituri = group this; {_x addEventHandler ["killed", {_this exec "deaddude.sqs"}]} forEach units morituri



but its showing error still


i do remove all things you said

than its look like

Quote
Code:

_corpse = _this select 0

~120   

@player distance _corpse > 300   

deleteVehicle _corpse

exit
but its not working :no:
Be happy.
ofp die-hard fan for whole life