Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
void DMItemTeleportActivated(object oDM, object oTarget);
void DMItemTeleportActivated(object oDM, object oTarget)
{
if (oTarget == OBJECT_INVALID)
{
SendMessageToPC(oDM, "Targeted object is invalid.");
return;
}
object oTeleTalk = CreateObject(OBJECT_TYPE_PLACEABLE, "tp_tb_dmteletlk0",GetLocation(oDM), FALSE);
SetLocalObject(oTeleTalk, "oTeleportTarget", oTarget);
SetCustomToken(2000, GetName(GetLocalObject(oTeleTalk, "oTeleportTarget")));
AssignCommand(oDM, ActionStartConversation(oTeleTalk, "", TRUE));
return;
}