I was wondering if anyone could help me with a unique script. In browsing the vault, I haven’t come across anything quite like what I need. It seems simple in premise, but I’m not actually even sure how to begin it.
To break it down as simply as possible, the script fires once (every trigger cooldown) on an encounter OnEnter to buff all of any random creatures that spawn from the trigger. Specifically, +1 to all abilities except dex. The tricky part is that I need it to check the encounter trigger variable to fire the buff as many times as the variable number indicates, meaning potentially stacking +1 abilities to the creatures even dozens of times. Any help would be appreciated, thanks.
check this, I am not sure if the “trigger” version is included, but it shares the same setup so if it isn’t there let me know and I will send you the trigger + script
1 Like
That one did catch my eye at first, but it only seems to work if you put those variables on the creatures themselves. I was hoping to avoid that, as I intend to use a very large pool of random creatures and need the script to be a bit more dynamic with what it buffs. Preferably done through the encounter variable itself.
I uploaded the trigger version there. It uses same variables but you put them onto trigger and it will affect all creatures that enters that trigger. (I only used it in whole area or subarea so there might be issue with repeated buffs ongoing if somehow the npc leaves and re-enters trigger though.
I don’t think that encounter fires OnEnter for creatures it spawns so it needs to be trigger + not everytime the spawn is inside the encounter so it doesn’t make sense really. Encounter certainly doesn’t fire script with npc it spawned - for that you would need my Trigger Spawn replacement.
1 Like
Okay, so what you’re saying is that I should place a regular trigger with this script in the OnEnter and have it overlaying the spot my encounters spawn on top of and that will buff those creatures based on the former trigger variables?
Just did some testing and it works brilliantly. It appears that the creatures are subject to the 12 cap, but I see you have an ab/dmg booster included as well, so that’ll work just fine. I can’t thank you enough. Beautiful script, seriously.