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
  #14  
Old 02-27-2002, 08:03 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by WHIPENIE4


Ok let me see , This script would mean

If the player touches the npc and the varible is equal the the amount of ruppees , if the varible is equal to 0 then say You have no gralats , if the varible is equal to 1 then the message is You have 1 gralat, if the varible is greater then 2 message is You have (then i dont know what #v is) the amount the varible is gralets. then sleep for 3.4 secs and the message is nothing...

Am i right?

[edit] Could someone also give me more examples of things with myvar stuff in them?? I want to get this section in scripting down before i go to this.var stuff... [/edit]
no, if the player touchs the npc the variable, 'myvar', gets set to the amount of rupees the player has. Then if myvar is equal to 0,1, or 2. It will say, "I have # rupees"
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 02:02 PM.


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