Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-29-2002, 06:36 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
okay, lets see


im kinda of confused about what you want, but this is what i get out of it

NPC Code:

if (playertouchsme && strequals(#g,Bartender)) {
if (strequals(#c,Pour Beer)) {
// Bla bla bla
}
}



note: i put the Pour Beer part inside in case you want to add more commands, just put them inside, its a lot easier than doing
NPC Code:

if (playertouchsme && strequals(#g,Bartender) && strequals(#c,Pour Beer)) {
// Bla bla bla
}

if (playertouchsme && strequals(#g,Bartender) && strequals(#c,Mix Motolov ****tail)) {
// Bla bla bla
}



=D
__________________
[signature]insert here[/signature]
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:20 PM.


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