Jump to content
Sign in to follow this  
darrent

invinicble team member

Recommended Posts

hello all,

is it poss to have one of your squad invincble ? i want the guy to be able to lay some pipe bombs without getting slotted by some lucky ai shot, ive loked at the hostage way,but my guy just wants to stand about

any ideals out there ?

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">unitname addEventHandler ["Hit", {_this select 0 setDammage 0}]

unitname addEventHandler ["Dammaged", {_this select 0 setDammage 0}]

unitname setCaptive true

Or some such

Share this post


Link to post
Share on other sites

yeh ive seen this somewhere else but what i can gather the game engine cant keep up with the command,how true i dont know

Share this post


Link to post
Share on other sites

not tested yet just throwing ideasl around, had a thought, i could change hime from "west" to "resistance" in the mission note pad

i will try your ideal 1st though

Share this post


Link to post
Share on other sites

You can't change the side of a unit during a mission. But you could have a unit that looks the same but is on a different side and you swap these units using setPos.

Share this post


Link to post
Share on other sites

You have been replying while I have been editing - I suggest you re-read my posts they may have changed.

Share this post


Link to post
Share on other sites

yeh that works as you dont really get to see him close up, cheers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×