Help with Custom Function
Zephirius
Member Posts: 419
Can anyone help me out with a custom function that would emulate A dragons wing effect upon a PC? I'm talking EffectKnockdown() + possibly moving the PC as a result of the force of its wings. This is above my paygrade so I can only say thanks in response to my query ahead of time.
Like I said, a little out of my wheelhouse...
void HurricaneWing(effect eEffect) { object oPC = GetNearestCreature (CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF); effect eEffect = EffectKnockdown(); eEffect = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oPC); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oPC); } void main() { }
Like I said, a little out of my wheelhouse...
0
Comments
Do you want to use the script above but add the screen shake effect? Then simple add that effect if oTarget is a PC. Perhaps it's also possible to move oTarget (like it is in Baldur's Gate) but you have to make sure to not move oTarget through walls or so.
If you want to do something else you would have to explain that a little bit more (at least to me).