OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ding on 04 Dec 2005, 16:37:24

Title: Opening a door
Post by: Ding on 04 Dec 2005, 16:37:24
can anyone tell me how to open a door of a house in a trigger? the house object im thinking of is called (Object 171888) on Nogova.

i think it will be somthing like

(Object 17188) animate "Open"

or somthing along the lines of that
Title: Re:Opening a door
Post by: Planck on 04 Dec 2005, 16:57:20
Let me see....something like this maybe:

(Object 17188) animate ["dvere1", 1];

Something along those lines anyway.


Planck
Title: Re:Opening a door
Post by: LoTekK on 04 Dec 2005, 17:03:51
Yup, and
Code: [Select]
(Object 17188) animate ["dvere1",0]will close it.

By the way, a quick search for "door" would have turned up this thread (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=26327;start=0).

;)