Jump to content
  • 0

NPC Player's Checkpoint


zmref

Question


  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

Hi I'm a newbie and I need help, I'm requesting for this NPC, please preview my MSPaint Picture

post-5357-0-97803300-1341541979_thumb.png

Thank you in advance

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

That's a lot of work for an NPC that only warps GMs to a location.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

Something like this should do the trick I believe.

map,x,y,0    script    #GMDoor    45,2,2,{
end;

OnTouch:
   if(!getgroupid()) {
       donpcevent "Bouncer::OnNotCoolKid";
       end;
   }
   warp "private_map_here",x,y;
   end;
}

map,x,y,d    script    Bouncer    899,{
end;

OnNotCoolKid:
   npctalk "Stop right there! Cool kids only!";
   end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  148
  • Topics Per Day:  0.03
  • Content Count:  299
  • Reputation:   6
  • Joined:  06/14/12
  • Last Seen:  

Something like this should do the trick I believe.

map,x,y,0	script	#GMDoor	45,2,2,{
end;

OnTouch:
if(!getgroupid()) {
	donpcevent "Bouncer::OnNotCoolKid";
	end;
}
warp "private_map_here",x,y;
end;
}

map,x,y,d	script	Bouncer	899,{
end;

OnNotCoolKid:
npctalk "Stop right there! Cool kids only!";
end;
}

Something like this should do the trick I believe.

map,x,y,0	script	#GMDoor	45,2,2,{
end;

OnTouch:
if(!getgroupid()) {
	donpcevent "Bouncer::OnNotCoolKid";
	end;
}
warp "private_map_here",x,y;
end;
}

map,x,y,d	script	Bouncer	899,{
end;

OnNotCoolKid:
npctalk "Stop right there! Cool kids only!";
end;
}

Error but thanks for the tip I know what to do now.

It ain't a lot of work, I made it only 12 lines

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...