Neverwinter Nights
Menú
Gamersmafia es ahora un archivo de solo lectura.

Volver del fugue en las hardcore rules

A ver tengo un problemilla no se como acer q al hablar con un npc devuelva al pj a donde esta su cuerpo, si alguien sabe de q estoy hablando espero que me ayudeis que ya he provao un wevo de cosas entre las q estan: [code:1:083cc26b0d]#include “hc_inc” #include “hc_inc_remeff” #include “hc_text_gods” void main() { object oPlayer = GetPCSpeaker(); AssignCommand(oPlayer, DelayCommand(0.2, JumpToLocation( GetPersistentLocation(oMod,”DIED_HERE”+GetName(oPlayer)+GetPCPublicCDKey(oPlayer))))); // quitar el cuerpo si existe if(GetLocalInt(oMod,”LOOTSYSTEM”)) { object oPCT=GetLocalObject(oMod,”PlayerCorpse”+GetName(oPlayer)+GetPCPublicCDKey(oPlayer)); if(GetIsObjectValid(oPCT)) DestroyObject(oPCT,3.0); } RemoveEffects(oPlayer); }[/code:1:083cc26b0d] Llevarlo aun sitio en concreto es muy facil (tipo ciudad o templo) pero lo que no m sale es llevarlo a su cuerpo.

Los más activos en Scripting