Files
HeroesStone_PRC8/_module/nss/mali_enc_tool.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

14 lines
460 B
Plaintext

void main()
{
object oPC = OBJECT_SELF; //The player character using the item
object oTarget = GetSpellTargetObject(); //The target of the spell
location lTarget = GetSpellTargetLocation();
lTarget = (GetIsObjectValid(oTarget) ? GetLocation(oTarget) : GetSpellTargetLocation());
SetLocalLocation(oPC, "lMCS_Spawn", lTarget);
AssignCommand(oPC, ActionStartConversation(oPC, "enc_spawnmenu", TRUE, FALSE));
}