Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 10-18-2002, 10:19 AM
MrGannondorf MrGannondorf is offline
Teh Lunpa
Join Date: Apr 2002
Location: usa, alas
Posts: 395
MrGannondorf is on a distinguished road
Send a message via AIM to MrGannondorf
dose playerleaves work offline?
__________________
Reply With Quote
  #17  
Old 10-19-2002, 01:39 AM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
if (playerleaves&&isjailed){
with (getplayer(#a))setlevel2 police2test.nw,30.5,30;
}

Works Fine I tested it online
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #18  
Old 10-19-2002, 11:26 PM
Eban Eban is offline
Registered User
Join Date: Aug 2002
Location: Um, my house?
Posts: 155
Eban is on a distinguished road
Send a message via AIM to Eban Send a message via Yahoo to Eban
Quote:
Originally posted by Kaimetsu
Don't need the getplayer because the active player is already set when playerleaves occurs.
fo reeel
__________________
Owner of Genesis -Paused till I have a place to host it

Name: Eban
AIM: EbanCK
Email: [email protected]
Reply With Quote
  #19  
Old 10-20-2002, 08:01 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
I can't imagine why some people use with(getplayer(#a))...I've seen that some times in the forums now and the command does...nothing.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
  #20  
Old 10-20-2002, 10:48 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by Com013
the command does...nothing.
except for when you want to use something like a send PM and you have like a param set as the account (triggeraction) or something.
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #21  
Old 10-22-2002, 01:41 AM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by Kaimetsu


The NPC Server uses an 'active player' system. When somebody enters a room, the playerenters event is run with that person as the active player. But if you want to affect somebody else, you can use with() to select a new active player (or npc).
Thanks, but I already know what with(...) is doing...the question is why some people use with(getplayer(#a))!
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.