13 lines
500 B
Plaintext
13 lines
500 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPlayer = GetLastUsedBy();
|
||
|
location oCandy = GetLocation(oPlayer);
|
||
|
string xxVarName = "xx"+GetPCPlayerName(oPlayer);
|
||
|
object oModule = GetModule();
|
||
|
location xxLoc = GetLocalLocation (oModule, xxVarName);
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_BLINDDEAF), oCandy, 3.5);
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_BLINDDEAF), xxLoc, 5.0);
|
||
|
DelayCommand(3.0, (AssignCommand(oPlayer, ActionJumpToLocation(xxLoc))));
|
||
|
|
||
|
}
|