PRC8/trunk/scripts/prc_telep_end_qs.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

25 lines
770 B
Plaintext

//::///////////////////////////////////////////////
//:: Teleport System - Clear Quickselection
//:: prc_telep_end_qs
//::///////////////////////////////////////////////
/** @file
This featscript deactivates the user's teleport
target location quickselection by deleting the
variable it is stored in.
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 31.05.2005
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_teleport"
void main()
{
object oPC = OBJECT_SELF;
// Clear the quickselection
RemoveTeleportQuickSelection(oPC, PRC_TELEPORT_ACTIVE_QUICKSELECTION);
SendMessageToPCByStrRef(oPC, 16825291); // "Teleport quickselection deactivated"
}