OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: NightJay0044 on 21 Mar 2009, 21:00:31
-
Hi, can someone tell me how to do this? I want to remove an I.D. when you click "show/hide I.D.s" in the editor. There is part of a fence I want to remove..
How to?
Thanks.
-
NjaysFence = position player nearestObject (insert ID number here); NjaysFence setdamage 1
-
Setting its damage to 1 as Laggy suggests is about the only thing which you can do with island objects :(
-
Yes, you can't delete or even move map objects. If the objects are near the players at the start of the mission, it can help to move the players a log way away, show a blank screen, destroy the object (which often makes a lot of noise and dust), then wait a few seconds before moving the players back to start the mission. About the best way to have something pre-destroyed without it appearing to be destroyed before the players' eyes.
-
A alternative would be setVectorUp to hide it.
-
Interesting idea... but it does not work as expected :)
-
Thanks all for the help.
NjaysFence = position player nearestObject (insert ID number here); NjaysFence setdamage 1
This one worked just fine, it makes the fence fall down. :clap:...