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?
VFX_DUR_WEB_MASS
Débuté par
kalbaern
, mars 06 2012 05:23
#1
Posté 06 mars 2012 - 05:23
#2
Posté 07 mars 2012 - 01:47
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.
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 .





Retour en haut






