OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Trasher on 05 Feb 2004, 21:39:10

Title: marker thats gets activated by a trigger ??
Post by: Trasher on 05 Feb 2004, 21:39:10
ok i guess this i a real simple thing.. but im not so good yet..

ok let say the enemy walks in a forest when they walks in the trigger
a marker should appear at that "West" map ... how can i do this ???


plz help me
Title: Re:marker thats gets activated by a trigger ??
Post by: macguba on 05 Feb 2004, 22:11:53
Create your marker in the Editor.   Set it to type empty.   Name it marker1.

Create your trigger.

Activation:  as you like
On Activation:   "marker1" setMarkerType "Objective"

Obviously you can use any marker type you like.  There are similar commands for changing the marker colour and moving it to a different position.
Title: Re:marker thats gets activated by a trigger ??
Post by: CptBravo on 05 Feb 2004, 22:20:09
Creat whatever type of maker you and set its size to  "m1"  0,0

Creat Trig acitvated by whatsoever

in Activation: "m1" setMarkerSize [50, 50]  
50,50 is whatever size you want the marker to be.

When activated marker will be become visible.

m1 is name of marker of course!   ;)