View Full Version : Invariably confused
abner
09-23-2005, 03:18 PM
could someone explain the difference between shared variables and internal ones? Why would i want to use one versus another...and what even, ARE they?
Zorromorph
09-23-2005, 03:39 PM
Shared variables can be used in any event throughout the whole game. Internal variables are assigned to a specific object.
abner
09-23-2005, 03:56 PM
Thanks! I guess I understand. So a shared variable is total monsters killed by party for example? and internal would be like number of times character X has died?
NikisKnight
09-23-2005, 04:05 PM
Can't BOTH be used with any event? Seems so to me, but I've only used events a little...
Pandacon
09-23-2005, 06:28 PM
Yeah, both can be used with any event, it just makes it easier to keep things organized.
Chuck
09-23-2005, 10:17 PM
Both can be used but it's better to use internal variables for things like a townsperson keeping track of whether you've talked to them before. It saves you from wasting a shared variable on something that only effects one event.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.