Shaky cam effect?

Is there some sort of “shaky camera” effect one can apply in NWN2? I’m not sure I’ve ever seen one…I would like to have something like that, if it’s available that is, in an area where there’s supposed to be something akin to an earthquake, maybe like an effect to put in a script on the OnHeartbeat of the area or so.

Don’t know if it works in NwN 2 but in NwN there is a screen shake effect -

object oFutureCorpse = GetLastUsedBy();

// Shake the screen.
        ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SCREEN_SHAKE), oFutureCorpse);

From the lexicon.

TR

1 Like

yep

effect eShake = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE);
DelayCommand(0.f, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eShake, GetLocation(_oAttacker)));
1 Like

Thanks @Tarot_Redhand and @kevL_s ! I’ll see if I can script that then. I may come back here for help since sometimes I know it has been a bit tricky when trying to script effects.

EDIT: I tried it out. Works flawlessly! :grinning:

2 Likes

hehe i get it