Aller au contenu

Photo

[Solved] Remove Skill/Spell's visual effects.


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
alschemid

alschemid
  • Members
  • 474 messages
Is it possible to remove or disable a visual effect from a skill or spell from the PC and NPC using a script, I would like to remove it before calling a cutscene or dialogue, and then give it back if possible. But just disabling it would be good enough.

Modifié par alschemid, 12 février 2012 - 01:35 .


#2
stragonar

stragonar
  • Members
  • 139 messages
I suspect you would have to disable the ability entirely and not just the vfx.

Have you tried using

if (GetGameMode == GM_CUTSCENE)

as a condition to disable sustained abilities?

#3
alschemid

alschemid
  • Members
  • 474 messages
The Effects_RemoveAllEffects() did the trick, thanks!