View Single Post
  #3  
Old 12-31-2005, 03:07 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Rick
All variables within an NPC are protected. They can be read by other NPCs, but not written to. Variables can be exposed as public by using some method such as "public variable someVar;". This includes system variables (such as rupees, bombs, etc).
What about one NPC adding a new flag to another NPC?

NPCs could have a set of permission flags modifiable only by that NPC, deciding if all objects in that NPC are public by default, if other NPCs can add new variables, etc.
__________________
Skyld
Reply With Quote