Jump to content
Sign in to follow this  
Ham Sandwich

Invisible, undestroybale target

Recommended Posts

Is it possible to create an invisible, undestroyable target with the tools currently availible? The purpose would be to place it in a spot where you want to bring down suppressive fire using the mission editor.

I attempted to do this using the invisible H and having units engage it using the doFire funcion but units won't engage objects. They'll engage empty enemy vehicles using doFire, but not objects.

There would be no modelling involved which is why i'm guessing it's possible. Maybe just making an invisible H which falls under the enemy vehicle class?

Share this post


Link to post
Share on other sites

I know there was a pack of different types of invisible target released for OFP a long while ago. They had different types so there was one for Infantry to engage, one for armour, one for choppers, and one for LGBs. As it consists of simple models, it may work for ArmA without any tweaks, and just a few config edits.

Share this post


Link to post
Share on other sites

those targets (original by Lester/Mapfact for OFP) are part of my already released FAC addon

Share this post


Link to post
Share on other sites

I thought I'd seen a mention of them regarding ArmA already, but couldn't remember where, or if the mention I thought I remembered was merely just someone saying they should be converted, or if someone had already released an ArmA version of them. hanks for sorting that out Al wink_o.gif

Share this post


Link to post
Share on other sites

Excellent addon, k@voven. I especially like the flashbang.

The invisible target is just what i'm looking for. Now if someone could tell me how to make it indestuctible, i'll be all set.

Share this post


Link to post
Share on other sites

If using it for private pleasure only you are allowed to modify the addon and increase the armor value of the targets.

Share this post


Link to post
Share on other sites

The problem with increasing the armor value (apart from non-addon makers not having a clue as to how to do it) is that your AI units may not attack the target anymore if the armor is too high.

It might be easier (and the AI will keep firing at it) to add an eventhandler that resets the damage every time a target is hit:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addEventHandler ["hit", {this setDamage 0}]

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  

×