OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: tmetalsoul on 01 Jul 2003, 23:54:21

Title: Markers
Post by: tmetalsoul on 01 Jul 2003, 23:54:21
Hey
I am making a mission where you go to a location and seek and destroy enemies.  After you kill all the enemies in that location the makers change to a green color...

Information:
1 of 6 locations

Name:  location_6
Axis a 250 : Axis b 250
Color:  Red
Ellipse
Fill:  Grid

Name:  l1_6
Color:  Red
Icon:  Destroy
Axis a 1 : Axis b 1

*all one part for location 1

I have a trigger set for Not Present - East.  Then i have in the On Activation Field:
[] exec "location1.sqs"; location_6 setMarkerColor "ColorGreen"; l1_6 setMarkerColor "ColorGreen"; l1_6 setMarkerType "FLAG"

Trigger:
Axis a 300 : Axis b 300
Min Mid Max: 5,5,5

On Activation: above as shown

This doesn't work, could someone help me?
I tryed looking for Changing Markers, Markers, Maker Type, Marker Scripts but nothing comes up about it or nothing at all.
Title: Re:Markers
Post by: LCD on 02 Jul 2003, 00:01:38
wasnt dat

green

not color green ?

try changin it 2

location_6 setMarkerColor "Green"; l1_6 setMarkerColor "Green"; l1_6 setMarkerType "FLAG

if it doesnt work

r u sure ur triger was activated ? cuz somtimes - deres unit hidin somwere (wich is da reason of not present trigs being big no no in mision editing :P)

so i sugest u use da counside command info here - reply 5 (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=10884;start=0)

LCD OUT
Title: Re:Markers
Post by: tmetalsoul on 02 Jul 2003, 01:17:08
the trigger works because the trigger is like +50 more axis than a and b of the marker, also it says location # cleared, but the marker doesn't change
Title: Re:Markers
Post by: tmetalsoul on 02 Jul 2003, 01:22:34
hey guys i just look at the commands > setMarkers and relized that theres "" around the marker name and now it works... thanks anyways