Announcement

Collapse
No announcement yet.

Variable question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Variable question

    I know you all have had a lot of questions about vairables, but due to your answers I am getting it!
    Thanks for all the help here, all of you.

    The question I still have though is,what is the difference between a shared and an internal variable?

    The shared variable is between different events, but I am not quite grasping the internal? Is there an example that could be given for the use?

    Thanks

    #2
    Re: Variable question

    Internal is for the event the variable is used in. It affects only that event.
    "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

    Comment


      #3
      Re: Variable question

      I personally don't know why they separated variables like that, it's stupid. Shared variables are variables that aren't tied to a character/event etc. You only have I think, 60 of these. Internal variables are variables that are created and can be used when you make a new character or something. So for example, let's say you run out of shared variables to use. You can make a new character/town/dungeon and use theirs! There's not much difference between the two types of variables from a universal standpoint.
      Last edited by Crimson Knight; 11-24-2005, 02:19 AM.
      Quote of the moment - "When you cut down a tree, don't stand near it."

      Comment


        #4
        Re: Variable question

        I am only somewhat following you. Fortunately I was able to figure out my first attempt at the variables with success. It was a simple,
        I would like some cake - If the character did not have cake
        Thank you for the cake, and take the cake out of inventory, - If I had obtained the cake.

        I used a shared variable in that instance. the variable was assigned to the item, and the guy wanting the cake.

        With internal variables it appears to want to be tied into a land object, what would be an instance that I would use it?

        Comment


          #5
          Re: Variable question

          The difference is small (But pretty much zero)

          You can either add 5 + 7 and get 12
          or
          You can add 7 + 5 and get 12

          Let me further explain

          If you use shared variables as the event condition then all shared variables change.
          If one was unintelligent and used conditions of internal variables but made them different for each different event then you would have to modify each individual variable.
          Of course none of us are that stupid so when we make a conditional internal variable we make it for all the multiple events we wish to have changed.

          This of course u already knew...and were probably afraid you just weren't getting it...

          But you were ^_^

          Comment


            #6
            Re: Variable question

            lol, thanks.
            I got it. I was just over-thinking it, making it more complicated that what it really is. My game is coming along pretty nicely now, although through this process of learning, I am almost tempted to start over, but don't feel like recreating all of those items again. lol.

            Thanks for the assist.

            Comment

            Working...
            X