iSpawnInStealth not working?
-
Certain creatures aren't being spawned in stealth. Can it be looked at?
-
iSpawnInStealth
Is the variable. If I am not typing it correctly that'd be the easiest fix.
-
It might be an old variable from before ai changes.
I know I put something in to automatically spawn things in stealth which had "high" stealth anyway, regardless if said variable (it also gave them HiPS temporarily in case they spawned in visual range) but that was so long ago, and our skill levels are probably way lower now so it probably never triggers.
Anyway, needs someone to search the scripts for the var and see if it does. Anything anymore (even if it does, the rest of the AI might bring them out of stealth after that, dunno, AI is mad complex)
-
@spiffymeister said in iSpawnInStealth not working?:
iSpawnInStealth
This variable doesnt show up in any current script.
-
May be called something else, there was some kind of stealth related variable at some time.
Maybe it got entirely removed when the AI was modded to automatically (often, but not always) spawn creatures who have "good" stealth, to just spawn stealthed. But I dunno, it was a long ass time ago.
-
Just did a quick search.
there's some stuff insc_spawn7
that is commented out//SetSpawnInCondition(NW_FLAG_STEALTH); // If the NPC has stealth and they are a rogue go into stealth mode
There is sooooo many AI scripts that seem to be overlapping and duplicating each other.
Honestly the whole system probably needs to be scrapped and redone but idk who has the time to take on a project that big right now. Maybe after Deth & I retire from our jobs in a few years? -