Community Forum

Access to current PDA Map file

Forum Overview >> Scripting

CategoryScripting
Created05.02.2011 03:17


Dirk Buck (Unknown) 05.02.2011 03:18
Hello Giants,
how can i get access to the current loaded PDA Map file within my script from my own mod.

Greets

D.Buck

Stefan Geiger - GIANTS Software 08.02.2011 13:46
You can't access the filename, but you can access the overlay with
g_currentMission.missionPda.pdaMapOverlay

Which you can draw with:
g_currentMission.missionPda.pdaMapOverlay:render();

There are also functions to set the position and size:
setPosition(x,y)
setDimension(width, height)

And you can query the current position and size with:
.x
.y
.width
.height


Note: Log in to post. Create a new account here.