Aller au contenu

Photo

VFX_DUR_WEB_MASS


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
kalbaern

kalbaern
  • Members
  • 824 messages
Is there any way to apply this effect and have it last longer than a single heartbeat? I'm trying to apply it via a trigger to a floor (just a non-sticky webbing) and despite what duration I try and set with it, it disappears after the first heartbeat. Better yet ... is there possibly a placeable option I missed somewhere?

#2
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
Hmm. Not sure how you were trying it but this method is permanent for me in testing:


void main()
{
    object oTarget = GetObjectByTag("BoxCrate51");
    effect eMassWeb = EffectVisualEffect(VFX_DUR_WEB_MASS);

    ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMassWeb, oTarget);
}

If you already tried a permanent duration it could be that whatever object you are trying to apply it to might be too short or lowered and the visual is actually appearing under the ground...just a thought.

Hope it helps.

Modifié par GhostOfGod, 07 mars 2012 - 01:50 .