Greetings, fellow Jedi. May the Force be with you.
In k_inc_utility there's a UserDefined events called HOSTILE_RETREAT which I was told it refers to UT_ReturnToBase that also belongs to the aforementioned script.
I'm in an attempt on reconstructing one, that is part of k_punk_restrig and wanted to ask if this script seems legit or does the opposite -
[Oops, the script has been removed as the wrong one was posted and the right one has been lost in eternity.]
Details are commented on the script
My concern is; the nwnnsscomp does compile the script, but to see if it's working or not is kind of hard to produce [and I haven't actually seeing it]. The relevant roaming Rakata which is unk42_rakbreed01 rarely moves towards the exit of trigger's geometry. So I'm down to a guessing game and that is not convincing.
Many thanks for considering this.
____________________________________________
Update: oof, after countless of trial-and-errors and insightful thoughts from @DarthParametric on #mod_development at Discord, I finally able to come to a resolve.
First of all, scrap the above script - my modification to UT_ReturnToBase was all garbage, and is nowhere near working, lol!
The idea on having oExiting replacing the role of OBJECT_SELF was all wrong. In short, it should have fired by the creature's OUD itself. Therefore, in the end I'm using this with the k_punk_restrig -
and having each creatures their own customized ScriptUserDefine to have something like this -
By then, the script worked as intended. Eureka!