• 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 Help - how to know if anchor allowed?

kblack

Landlubber
Storm Modder
Hi all

Anybody can give a clue about how to check if our ship is in a location where is activated the "anchor" icon?

Thanks in advance
 
<!--quoteo(post=169583:date=Nov 2 2006, 12:14 AM:name=Hook)--><div class='quotetop'>QUOTE(Hook @ Nov 2 2006, 12:14 AM) [snapback]169583[/snapback]</div><div class='quotemain'><!--quotec-->
If the variable bCanEnterToLand is true, you have the anchor icon.

Hook
<!--QuoteEnd--></div><!--QuoteEEnd-->


Great! Thanks a lot, Hook.
 
Just a question: If bCanEnterToLand is true, does that mean you can anchor or does that mean that you can anchor AND have the anchor icon? For example: If you are close to another ship in your fleet while at an anchorage, then the ship-to-ship tranfer icon shows up. If this is the case, is bCanEnterToLand true or false? After all, anchoring IS allowed, but the icon doesn't show up at that very moment.

Same question for CanEnterToMap (or something like that). If this value is only true if the go to map ICON shows up, then we have some weird effect with the Realistic Repairs mod. This would result in not being able to repair your ship when you are sailing and are so close to an own ship that the ship-to-ship tranfer icon shows up.
 
As far as I know, if the variables are true, then you can do the action. The icon that shows up may be overridden by another, like ship transfer. You notice that you only get an anchor or map icon, not both, when you can either anchor or go to the worldmap. But both variables should be true at that point.

Hook
 
In the 3D sailing mode, where it will only show one icon in the top left of the screen, you can still access all the icons with the return key menu cant you? And scroll thorugh to the one you want?
 
Right. For default action icons in the upper left, "There can be only one." <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> Everything else that's available can be accessed throught the menu.

Since the original question was specifically about the anchor icon, I phrased my answer about that instead of a more generic answer.

Hook
 
Back
Top