Page 1 of 1

Change color of reference point??

Posted: Sun Oct 02, 2022 3:43 pm
by Zyph
Anybody know how to change color of the reference pint in lua?

Re: Change color of reference point??

Posted: Sun Oct 02, 2022 6:02 pm
by blu3s
With the function ScenEdit_AddReferencePoint() when you creates a new reference point you pass the color as param.
.
.
Captura.PNG
Captura.PNG (61.28 KiB) Viewed 596 times

Re: Change color of reference point??

Posted: Mon Oct 03, 2022 9:24 am
by michaelm75au
Quick example
ScenEdit_AddReferencePoint({side='blue', color='green', longitude=0, latitude=0})
or
ScenEdit_SetReferencePoint({side='blue', guid='GNRIJH-0HML53VSSU72S', color='yellow'})

Re: Change color of reference point??

Posted: Tue Oct 18, 2022 7:42 pm
by Zyph
Thank you!!

Re: Change color of reference point??

Posted: Tue Jan 17, 2023 8:43 pm
by DavidRN
Hi There

I tried the above it creates the reference point but stays white not green

ScenEdit_AddReferencePoint({side='Royal Australian Navy', latitude='S 22.50.34', longitude='E 150.25.37', highlighted=true, color='green'})

I watched a YouTube clip which was created three months ago my Missions + Ref Points drop down menu seems to be different as I do not see.....

Air Tasking Order
Reference Point Manger
Define Reference Point Color

My CMO Downloaded from Steam Command v1.04-Build 1147.52

Re: Change color of reference point??

Posted: Wed Feb 01, 2023 1:14 pm
by michaelm75au
This works correctly with the latest 1.05.
I don't think it is available in 1.04.