Alavin
Sat, 26th Nov '05, 6:57pm
As the title suggests, there are a few things that I'm having trouble with. I'm using the Gestalt cutscene scripts to make it easier, but here is my problem:
A spell effect that should extend beyond the cutscene.
GestaltStopCutscene(17.2, oPC, "", TRUE, TRUE, FALSE, FALSE, FALSE);
This ends the cutscene. The fourth boolean there states whether the effects applied to a character are removed. False means it shouldn't be.
DelayCommand(17.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eHold, oPC));
where eHold is
effect eHold = EffectParalyze();
The duration is set to permanent since the final opening cutscene is to remove the effect. The problem: nothing happens. The PC is fully able to move around. I initially tried implementing the holding through the cutscene, to the same effect, and DelayCommand seems not to work either.
I've probably just done something dense, but any help would be appreciated.
A spell effect that should extend beyond the cutscene.
GestaltStopCutscene(17.2, oPC, "", TRUE, TRUE, FALSE, FALSE, FALSE);
This ends the cutscene. The fourth boolean there states whether the effects applied to a character are removed. False means it shouldn't be.
DelayCommand(17.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eHold, oPC));
where eHold is
effect eHold = EffectParalyze();
The duration is set to permanent since the final opening cutscene is to remove the effect. The problem: nothing happens. The PC is fully able to move around. I initially tried implementing the holding through the cutscene, to the same effect, and DelayCommand seems not to work either.
I've probably just done something dense, but any help would be appreciated.