script call for show picture possible?

● ARCHIVED · READ-ONLY
Started by Monkey BizNiz 5 posts View original ↗
  1. Hey fellas,

    Id like to know if its possible to show pictures through a script, and if so - what the proper commands are for: show picture, move picture, rotate picture, tint picture, and delete picture. The main reason I want to do this is because id like to make the picture number variable, but i think there can be other eventual advantages aswell.
  2. Please search the forum.

    There is a topic that lists the script equivalent of every single event command.
  3. Doh! i actually already knew about that list, but it totally slipped my mind. Thanks for pointing it out.

    Edit:
    @Andar
    actually ive stumbled on another problem:

    Ive filled the script in as this:
    ◆Script:$gameScreen.showPicture(1, "Item_11", "Center", 600, 300, 100, 100, 255, "Normal")

    Which is supposed to be identical as this:
    ◆Show Picture:#1, Item_11, Center (600,300), (100%,100%), 255, Normal

    But when i use it, it gives the error:
    TypeError
    Cannot read property '0' of undefined

    What am i doing wrong?
  4. Code:
    $gameScreen.showPicture(1, "Item_11", 1, 600, 300, 100, 100, 255, 0)
    upper left is 0, center is 1
    Normal is 0, additive is 1, multiply is 2, screen is 3
  5. dahlys said:
    Code:
    $gameScreen.showPicture(1, "Item_11", 1, 600, 300, 100, 100, 255, 0)
    upper left is 0, center is 1
    Normal is 0, additive is 1, multiply is 2, screen is 3
    thank you sir.