The Dink Network

Reply to Global variables

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 25th 2004, 10:04 AM
anon.gif
Vedran
Ghost They/Them
 
When I want one script to set something which is recognized by another script, do I absolutely need to set a global?

Also, how do I keep an action from repeating? EG: There is an item on a shelf, and after it is picked up, I don't want to be able to pick it up again. Normally in C, I would use static int. Do I need global again?