Aller au contenu

Photo

EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY) isn't working


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

#1
rjshae

rjshae
  • Members
  • 4 485 messages

A cutscene script is calling this on the PC:

effect eInvis = EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY);
DelayCommand(0.2, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eInvis, oPC, 9999.0));

But it isn't having any effect. Do you know if this effect is valid in NWN2? VFX_DUR_CUTSCENE_INVISIBILITY has a matching row in visualeffects.2da, but no effects are listed. (It was the same in NWN.)



#2
kevL

kevL
  • Members
  • 4 056 messages

doesn't seem to be used much anywhere i look,

replace w/ SetScriptHidden()



#3
rjshae

rjshae
  • Members
  • 4 485 messages

doesn't seem to be used much anywhere i look,

replace w/ SetScriptHidden()

 

Yeah, I'll probably have to resort to that. Thanks.



#4
Dann-J

Dann-J
  • Members
  • 3 161 messages

EffectCutsceneGhost() doesn't work either. SetCollision() works though, and does essentially the same thing.