wiremod/wire

E2 Effects very inconsistent in triggering

unknao opened this issue · 1 comments

unknao commented

E2 effects have a weird habit of not triggering depending of what kind of if statement it's in or what kind of event triggers it.

Garry.s.Mod.x64.2023-07-26.14-40-44.webm
unknao commented

After an hour of testing it seems like the "allowOverride" boolean on util.Effect() controls whether it is able to play this specific effect (and probably all other non lua defined effects).

EDIT: Nevermind, setting ignorePredictionOrRecipientFilter to true fixes all the problems i had.