14 lines
473 B
Plaintext
14 lines
473 B
Plaintext
void main()
|
|
{
|
|
object oPlayer = GetPCSpeaker();
|
|
SetLocalInt(oPlayer,"Merimesiss",1);
|
|
object oDest = GetObjectByTag("WP_Merimesiss_1"); // Location Waypoint here
|
|
location iLoc = GetLocation(oDest);
|
|
effect eVis = EffectVisualEffect(VFX_FNF_SMOKE_PUFF, FALSE);
|
|
float fDelay;
|
|
|
|
DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, OBJECT_SELF));
|
|
DelayCommand(fDelay, AssignCommand(OBJECT_SELF, JumpToLocation(iLoc)));
|
|
|
|
}
|