Lankhmar_PRC8/_module/nss/cnv_move_whouses.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

27 lines
451 B
Plaintext

void main()
{
location lNewLocation = GetLocation(GetObjectByTag("WP_Warehouses"));
object oTarget;
oTarget = GetPCSpeaker();
if (GetIsObjectValid(oTarget) == TRUE){
AssignCommand(oTarget,ActionJumpToLocation(lNewLocation));
}
else if (GetIsObjectValid(oTarget) == FALSE) {
SpeakString("Problem here");
}
oTarget = GetObjectByTag("sas1");
DestroyObject(oTarget, 1.0);
oTarget = GetObjectByTag("ent_cnv_sas1");
DestroyObject(oTarget, 1.0);
}