Help For Script Call

Discussion in 'Learning Ruby and RGSSx' started by IneptAttoney_08, Aug 25, 2019.

  1. IneptAttoney_08

    IneptAttoney_08 MMORPG! Veteran

    Messages:
    80
    Likes Received:
    10
    Location:
    Here!
    First Language:
    Indonesia
    Primarily Uses:
    RMVXA
    Hello!
    does anyone know how to make a script call that can change the contents of the script? for example:
    script_call(7)
    the number in the script will be changed to number 7.
    Please help me for this case.
     
    #1
  2. Poryg

    Poryg Dark Lord of the Castle of Javascreeps Veteran

    Messages:
    3,984
    Likes Received:
    10,077
    Location:
    Czech Republic
    First Language:
    Czech
    Primarily Uses:
    RMMV
    ........ You can't?
    Why not just remake the particular function to accept an additional parameter and then create an if else based on the parameter or something?
     
    #2

Share This Page