Jump to content
Ghost Recon.net Forums

Hide A Small_static (spansk_ryttare)


Recommended Posts

Hi,

I want hide a small_static from the world and show it later. Also I want to walk over the place, where the small_static is placed. The small_static is a spansk_ryttare.

I've tried:

<element type="DisableUnit" name_id="sperre_04"/>

<element type="EnableUnit" name_id="sperre_04"/>

This don't work. Nothing changed.

and

<element type="UnitVisibility" name_id="sperre_04" action="hide"/>

<element type="UnitVisibility" name_id="sperre_04" action="show"/>

spansk_ryttare was not visible, but can't walk through

Can anyone help?

Thanks

Link to post
Share on other sites
  • 5 months later...

Something to check...in GRAW2 we have had issues with setslot in scripts not replicating acurately in online games (ie. dedicated servers). Not sure if the issue exists in GRAW1, however, just thought I'd mention it.

Also, just for clarity,the elements DisableUnit and EnableUnit I used to turn on and off attributes of a prop. For example you would use this to turn a street light on and off. It calls a section of the code in the unit xml.

Not sure if it exists in GRAW1, but in GRAW:2 we also have the command CreateUnit.

There is an example on the wiki for creating a zeus (weapon) and a laptop (prop) here http://graw2.pbwiki.com/Advanced-scripting...dingaZeuslaptop

Dav.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...