Unknown_Hero Mage
Messages : 780 Quality Points : 78 Registration Date : 2015-09-06
| Subject: [Ironfist ver 1.2.1+][Script System] OnLocationVisit(type, x, y) 2017-03-09, 03:44 | |
| Tested with Ironfist version 1.2.1+ (version of December 15, 2016). * In the scenario "TestScri.mx2" ( Massive Test of Project Ironfist Script System), I tried this code: function OnLocationVisit(type, x, y) MessageBox("Text displayed for all types of locations visited."); --< it works, it displays the message box for all types of locations visited (very nice). --< when the hero embarks in a boat, the message box is displayed after the hero is embarked. --< it also displays the message box when the hero disembarks from a boat, is this normal? --< and this time, the message box is displayed before the hero lands.end; | |
|
Darmani Master Modder
Messages : 289 Quality Points : 47 Registration Date : 2014-12-27
| Subject: Re: [Ironfist ver 1.2.1+][Script System] OnLocationVisit(type, x, y) 2019-01-01, 11:45 | |
| We piggyback off the game's own event system, and clearly they consider this an event. Making a note in the documentation. | |
|