• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

modding - worldmap

Kieron

Landlubber
Storm Modder
does anyone happen to know if there's a variable or property i can check to see if the player is on the worldmap?

if the player is on the sea/battle interface then you can check the boolean bSeaActive. is there a similar one for the worldmap interface?

ta <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Yes.
Check the savegame functions in seadogs.c I believe. I know I saw it _somewhere_.

EDIT: Bingo.
You check to see if the worldmap object/entity/thingy is active.
SD.c line 516,
if(IsEntity(&worldMap) != 0)
 
Hummm, this makes me wonder about something... Hmmmm...

You know, the PMT is making new islands, and the Russians did it in their mod, so why can't we?

Do you suppose, Kieron (or ANYONE), you could take a look and see what might be done so we could put a new island or two into PotC?

This should be a separate thread!
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->Yes.
Check the savegame functions in seadogs.c I believe. I know I saw it _somewhere_.

EDIT: Bingo.
You check to see if the worldmap object/entity/thingy is active.
SD.c line 516,
if(IsEntity(&worldMap) != 0)[/quote]


lovely! thanks nathan.
 
Happy to 'elp. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Back
Top