Home   Help Search Login Register  

Author Topic: Remove I.D. (Solved)  (Read 1959 times)

0 Members and 1 Guest are viewing this topic.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Remove I.D. (Solved)
« 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.
« Last Edit: 23 Mar 2009, 06:14:02 by NightJay0044 »
Who's hyped for Arma4, long live Arma!

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: how to remove an I.D. in editor
« Reply #1 on: 21 Mar 2009, 21:59:40 »
NjaysFence = position player nearestObject (insert ID number here); NjaysFence setdamage 1
« Last Edit: 21 Mar 2009, 22:02:23 by laggy »
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline Deadfast

  • Members
  • *
Re: how to remove an I.D. in editor
« Reply #2 on: 22 Mar 2009, 00:13:39 »
Setting its damage to 1 as Laggy suggests is about the only thing which you can do with island objects :(

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: how to remove an I.D. in editor
« Reply #3 on: 22 Mar 2009, 03:05:19 »
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.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline i0n0s

  • Former Staff
  • ****
Re: how to remove an I.D. in editor
« Reply #4 on: 22 Mar 2009, 06:38:26 »
A alternative would be setVectorUp to hide it.

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: how to remove an I.D. in editor
« Reply #5 on: 22 Mar 2009, 10:33:08 »
Interesting idea... but it does not work as expected :)
try { return true; } finally { return false; }

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re: how to remove an I.D. in editor
« Reply #6 on: 23 Mar 2009, 06:11:40 »
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:...
Who's hyped for Arma4, long live Arma!