Forum Jump :

Author Message


Posts: 1057
Rank:


Level: Member

Country: en
Location: 15 Bajo Valor Road, Everon, Sahrani.
Occupation: Air Training Corps, Airsoft + College.
Age: 26
In-game name: grimfist

 
#1 Posted at 2009-08-25 14:45        
     
Ive being having a look around but cannot find the solution.

i have a c 130 in my mission and occasionally it will get shot, but i want it look as if its taking fire but not actually get damaged.

i have a few little script snippets but i just need some help sticking them together.

this add event handeler 'hit' exec grimscript
c130 set damage 0

or a loop script?

something like that.

i have had a look through the comref but am a bit stuck.

ty in advance.

This post was edited by Grimfist (2009-08-25 15:04, ago)


Author Message


Posts: 20660
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#2 Posted at 2009-08-25 15:33        
     
I think there is an "allowdamage" command. Search the wiki for "damage" and it should popup. Post the result here :)

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message


Posts: 1057
Rank:


Level: Member

Country: en
Location: 15 Bajo Valor Road, Everon, Sahrani.
Occupation: Air Training Corps, Airsoft + College.
Age: 26
In-game name: grimfist

 
#3 Posted at 2009-08-25 15:43        
     
http://community.bistudio.com/wiki/allowDamage

TY foxhound!!!

AC130 allowDamage false

it works.

im gonna try it on a person lol :) terminator time