Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,24 @@
//:://////////////////////////////////////////////
//:: Script used in marking teleport locations
//:: prc_telep_lname
//:://////////////////////////////////////////////
/** @file
This script stores the string spoken by the player
into a local variable on them.
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 20.06.2005
//:://////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_chat"
void main()
{
object oPC = OBJECT_SELF;
// Store the spoken value
string sName = GetLocalString(oPC, PRC_PLAYER_RESPONSE);
SetLocalString(oPC, "PRC_Teleport_LocationBeingStored_Name", sName);
// "Name gotten:"
SendMessageToPC(oPC, GetStringByStrRef(16825307) + " " + sName);
}