OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 05 Aug 2004, 18:01:07

Title: change marker text
Post by: CopyrightPhilly on 05 Aug 2004, 18:01:07
very basic question..

how do i can the text of a marker in a scipt?

i know this might sound stupid but i couldnt find anything in the command ref so..

edit: also is it possable to make the marker only visable by one side (west or east)

cheers, Philly
Title: Re:change marker text
Post by: dmakatra on 05 Aug 2004, 18:23:10
1) You can't.
2) Dunno.

:beat: *Gets Shot* :beat:
Title: Re:change marker text
Post by: macguba on 05 Aug 2004, 18:44:26
You could delete or empty the marker and replace it with a similar one with different text.    The similar one is stored somewhere type empty while it is not being used.

Presumably this is for MP.    I don't know much about MP but I believe scripts are local:    probably you could run a script on each computer that checks the side of the local player and displays/hides markers accordingly.     But don't quote me on that.
Title: Re:change marker text
Post by: DBR_ONIX on 05 Aug 2004, 18:52:46
Or place the changed one waayy of the map
And then store the getpos result in a varable..
Delete the marked
And setpos the changed marker to the position you stored in a varable

I think the idea about checking if the person running the script is right.. I'm not that good at MP script at all either though ::)

- Ben