Common Event Variables not setting variables

Discussion in 'RGSSx Script Support' started by MrPurpleDreadlocks, May 14, 2015.

  1. MrPurpleDreadlocks

    MrPurpleDreadlocks Veteran Veteran

    Messages:
    159
    Likes Received:
    19
    First Language:
    English
    Hello RPG Maker peeps,

    I am having issues calling the variables I set in the database for checking the variables (user,target,skill,item) in battle.

    You can find the script here: http://himeworks.com/2013/04/common-event-variables/

    Also here is my set up:

    http://i.imgur.com/hik1gzO.png <-- Script Variable Set up

    http://i.imgur.com/OoeGye1.png <-- Common Event Variable Set up.

    http://i.imgur.com/Q5Ey5yC.png <--- Troop Set up

    http://i.imgur.com/XvDwkck.png <-- The Result.

    Does anyone have any ideas?
     
    #1
  2. Shaz

    Shaz Veteran Veteran

    Messages:
    37,934
    Likes Received:
    11,603
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
     
    #2
  3. Andar

    Andar Veteran Veteran

    Messages:
    28,693
    Likes Received:
    6,596
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Of course those values are zero - the troop event that calls the common event has no actor ID, it has no target or any of the other data.


    The skript will always overwrite the previous data with the data of the current call - drop that troop event, call the skript from a skill and it should give the data for that specific skill use.
     
    #3
  4. MrPurpleDreadlocks

    MrPurpleDreadlocks Veteran Veteran

    Messages:
    159
    Likes Received:
    19
    First Language:
    English
    Oh okay. Thanks Andar. That's kinda crappy for what I want to do. But i'll figure something out.

    @Shaz. Sorry I thought I posted in the correct forum. Problem solved.
     
    #4
  5. Shaz

    Shaz Veteran Veteran

    Messages:
    37,934
    Likes Received:
    11,603
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    You posted in VX Ace support. Since it's such a huge subject, there is a special forum for support with scripts.
     
    #5

Share This Page