Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-19-2007, 02:11 AM
oinknessx oinknessx is offline
Banned
oinknessx's Avatar
Join Date: Apr 2004
Location: United States
Posts: 646
oinknessx is on a distinguished road
Send a message via AIM to oinknessx
Red face Help with && (and)

Hi guys. My learning of GScript2 is going pretty smooth, but now I'm stuck. I need to figure out how to do an AND.

In Gscript1, you could make it so if the player said something, and it equaled a certain thing, it would perform an action...

Can you guys tell me how to make the equivalent of an if (playerenters&&timeout) or if (playerchats&&strequals()) type deal? Just so I can have a function onPlayerChats&&stuff or whatnot.

Still trying to learn the basics of GS2. I appreciate the help.
Reply With Quote
 


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 03:36 PM.


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