OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: terrazasjs on 03 Jun 2003, 07:50:08
-
i have this plane that ejects a group from the air ;but i put a flank script that suppost is not going to destroy the plane, but while the plane is moving is getting hit all the time before it reaches the eject waypoint and all my group die.How can i make the plane to resist more hits or to make it invincible? ???
-
Go to Units and groups from snippets section. Then look for snYpirs (How to make tougher units) script
or
Make a trigger,
condition field: not alive plane
on activation field: plane setdammage 0
-
put in its init da next line
this addeventhandler ["hit",{this setdammage 0}];this addeventhandler ["killed",{this setdammage 0}]
shud work ;)
LCD OUT
-
oops i had eror in da line gave u ;)
i edited my last post ;D
LCD OUT
-
doesn't work for the player tho... this is because the game detects the death before the script... and will then run the 'death scene' and game over.
-
I think the solution is given here :
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9505;start=0
(check reply #9 ;))
-
DUH
use the command:
'unitname' allowdamage false
-
DUH
That command was disabled in version 1.10
DUH ;D
-
lol
-
hahaha, alotta d00ds these days seem to be playing OFP_v_1.10 ;D
must be all those east-european 'burners' :o :-X ;D an' I guess that means that the command works just fine for THOSE guys! :hmm: ;D
(ps. off course, they COULD be playing an official copy - I hope so, coz burning OFP is BAAAAD) !
a game like that deserves 100% support
-
a game like that deserves 100% support
:afro:I totally agree...