PoA_PRC8/_module/nss/xxuse.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

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))));
}