Jump to content

KoRRuPT

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

KoRRuPT's Achievements

Poring

Poring (1/15)

0

Reputation

  1. I already fixed that myself and the script still does not work. For some reason the "OnPCLoadMapEvent: " seems to not activate. Edit: Figured it out, remove the "end;" from the start of the script as it disconnects the OnPCLoadMapEvent from the player. prontera,155,181,5 script Sample 757,{ mes "Go kill Evil Clone ?"; if( select( "Yes:No" ) == 2 ) close; warp "guild_vs5",0,0; OnPCLoadMapEvent: if( strcharinfo(3) == "guild_vs5" ){ for( set .@i,0; .@i < 3; set .@i,.@i + 1 ){ clone "guild_vs5",0,0,strnpcinfo(0)+"::OnCloneDie",getcharid(0); } } end; OnPCLogoutEvent: OnPCDieEvent: OnCloneDie: if( strcharinfo(3) == "guild_vs5" ){ killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",0,0; } end; }
  2. I tested this and the result was that the clones do not spawn.
  3. I have a bigger plan on this script but I just need to know a crucial part of it. The segment I need to know is how to do the following: Warping a player to a said map Spawning 3 evil clones If player dies, clones are killed, player can attempt again at step 1 If clones die, player is warpped back What I am basically lost at is how to keep track of the player dieing and restarting, along with clones dieing and finishing the quest. Also what is the mobid of a evil clone.
×
×
  • Create New...