OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Egwal on 08 Jul 2003, 12:52:29

Title: Fallen trees...?
Post by: Egwal on 08 Jul 2003, 12:52:29
So Im making this Mi-8 Down-mission.

A chopper has crash-landed, and it took some trees down on its way to the ground.
1. How do I get so that the trees are down directly when the mission starts. I know its got something to do with the IDs.

2. And how can I restrict a player from hearing other players messages, until a specified point.

Thanks.

Title: Re:Fallen trees...?
Post by: Grinning_Giant on 08 Jul 2003, 15:13:37
fire up the editor, click the button "Show IDs"

Zoom right in so you can see the ID Numbers

use this line in a script or trigger

(Object *Insert ID Number Here*) setdammage 1

E.G.
Code: [Select]
(Object 17068) setdammage 1
Every object has an ID Number every tree, shrub and building has it's own ID number.
Title: Re:Fallen trees...?
Post by: _Ross_ on 08 Jul 2003, 17:49:26
as for the radio,
playername enableradio False

later in the mision when you want the radio back,
playername enableradio True
Title: Re:Fallen trees...?
Post by: ste150 on 08 Jul 2003, 19:04:55
Hey,

Hate to butt in but, i need to do the same thing. Where is the Show IDs but.? I cant find it  ::)

Cheers
Stevo :)
Title: Re:Fallen trees...?
Post by: Kaliyuga on 08 Jul 2003, 20:32:31
Hey,

Hate to butt in but, i need to do the same thing. Where is the Show IDs but.? I cant find it  ::)


Do you have resistance?
Title: Re:Fallen trees...?
Post by: ste150 on 09 Jul 2003, 18:33:54
Ah... No - that could be why  ::) - Gettin it soon if Amazon decide to stock it.

Cheers
Stevo  :)