Announcement

Collapse
No announcement yet.

Stupid Event Problem.

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

    Stupid Event Problem.

    I'm having trouble with what's probably a very easy event. Basically it consists of one shared variable, with different events at 0, 1, and 2. When I go to a door, it displays a message, I thought that the code I had then following that would add 1 to the variable, however, I don't think it did. When I go talk to someone, who should have a different response when the variable's at 1, his response is the same as it was at 0, making it impossible to proceed.

    Here's the code, (Sorry if I typed it in a weird format):-Val-Conditional Branch, Option 2. 00, 02.-
    Option 1/Start
    Message Display
    Movement
    Increase Shared Value - 1
    Option 2/Start
    Message Display
    Movement
    Lose Treasure
    -End Branch-

    Here's the Event Code for my NPC...

    -Val-Conditional Branch, Option 3. 00, 01, 02-
    Option 1 Start
    Message Display
    Option 2 Start
    Message Display
    Message Display
    Message Display
    Increase Shared Variable by 1
    Add Item
    Option 3 Start
    Message Display

    ...So what am i doing wrong? I haven't a clue... >.<



    Don't copy that floppy!

    #2
    Re: Stupid Event Problem.

    I have no idea what you did there, but dont you have to do an event transition to get the NPC's event to activate?

    Another thing I have discovered is if you have a variable, and you "Increase Variable" +1, the shared varibale will be 1 then right? Well lets say you then "Modified Variable" = 0 so that the variable is 0 now, if you "increase variable" +1 again the variable will actually be 2, not 1 like its suppose to be.

    Increase/Decrease and Modify is actually two seperate commands, so maybe thats what problem youre having.

    I dont even know if its a legitimate glitch, I know I experimented with it and came up with these results everytime.
    Last edited by JPS; 01-31-2008, 08:48 PM.

    Here I come Pav, like the Kool-Aid man barging into a funeral! Oh yeah!

    Comment


      #3
      Re: Stupid Event Problem.

      Thanks, Lausen and I talked it over and I got it fixed pretty easily. The problem was that the movement commands was before the variable changing, and that I had accidentally set them both from Shared, to the dungeon.



      Don't copy that floppy!

      Comment


        #4
        Re: Stupid Event Problem.

        oh, I never use movement commands

        Here I come Pav, like the Kool-Aid man barging into a funeral! Oh yeah!

        Comment

        Working...
        X