ScenEdit SetReferencePoint

From Baloogan Campaign Wiki
Revision as of 10:56, 22 November 2014 by Baloogan (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<syntaxhighlight lang="lua"> --basic function: ref = ScenEdit_SetReferencePoint({side="United States", name="Downed Pilot", lat=0.5}) print(ref.guid) -- prints the reference point's unique id

--Much like ScenEdit_SetUnit this function allows you to choose what you set about a reference point

ScenEdit_SetReferencePoint({side="United States", name="Downed Pilot", lat=0.5, lon="N50.50.50", highlighted = true})

</syntaxhighlight>