#Looking for direction on shared trigger code for multiple auras

10 messages · Page 1 of 1 (latest)

winged gale
#

I have the same trigger code and the same action on init code for 4 text based auras, the difference is that each aura uses different variables depending on the zone and each one also only gets loaded for a specific zone

My question is, structurally, how can i clean up having 4 separate nearly duplicate auras to make things cleaned up and not so duplicate?

#

like i wonder if the parent group could hold the trigger and its code and the shared action init code

#

then each aura inside of it can still have the load set independently and any other custom variables in their own action init code?

lusty breach
#

groups don't have triggers or actions

winged gale
#

ok

lusty breach
#

they way you have it is the only way you can do it if you want different load conditions for each

#

if you reduce or remove the load conditions you might be able to combine them but it depends on the specifics of what you want

winged gale
#

right, like i could remove the load conditions in the settings and then check the the zones on run time

#

like if i had a single aura that based on the zone in code i changed the variables, wrather then duplicating the rest of the code just to store different variables/settings

lusty breach
#

yea