SRD Menu: Bust and Icons; Changing busts with scripts?

Discussion in 'Javascript/Plugin Support' started by SleepyMachine, Apr 14, 2018.

  1. SleepyMachine

    SleepyMachine Weirdo Veteran

    Messages:
    38
    Likes Received:
    44
    Location:
    Toronto
    First Language:
    English
    Primarily Uses:
    RMMV
    So, I'm working on a costume system thing in my game, and was wondering if there was a way to change the bust that SRD's bust and icon menu calls with a script call or something?

    does anybody know how to do this? or if it's even possible
     
    #1
    Kike likes this.
  2. Eurritimia

    Eurritimia Villager Member

    Messages:
    22
    Likes Received:
    21
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I want the same thing as you (to change the bust via script/plugin call) and tried to mess around the code but had no luck either...

    Edit: I managed to edit the bust via this script call:

    Code:
    $dataActors[i].ams_bs_bust = 'picture'
    where i is the number of actor you want to change the bust
    and picture is the bust file located on bust folder
     
    Last edited: Apr 14, 2018
    #2
    Kike, vap0re0n and SleepyMachine like this.
  3. SleepyMachine

    SleepyMachine Weirdo Veteran

    Messages:
    38
    Likes Received:
    44
    Location:
    Toronto
    First Language:
    English
    Primarily Uses:
    RMMV
    holy hell you are an actual lifesaver
     
    #3
    Kike likes this.

Share This Page