Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old February 18th, 2013 (2:49 AM). Edited February 18th, 2013 by shadowriver.
shadowriver shadowriver is offline
     
    Join Date: Sep 2007
    Gender:
    Posts: 49
    Hey all its been awile since ive been here.
    curantly i have been trying to lern how to script from scratch.
    ive followed a few tutorials to make a script of my own.
    now the problem is ive made it in vx but i want to change it to xp but not shure what parts to change.

    this is the script
    its an entourage/Guest script witch ive added to the menu screen.


    Spoiler:
    class Window_Guest < Window_Base
    def initialize
    super(0,0,320,280)
    if $game_variables[20]=1
    actor= $game_actors[2]
    x,y= 5,10
    draw_actor_graphic(actor, x, y)
    x,y=10,20
    draw_actor_name(actor, x, y)
    end
    end
    class Scene_Guest < Scene_Base
    def start
    @my_Guest < Window_Guest.new
    end
    def update
    @my_Guest.update
    if Input.trigger?(Input::C)
    $Scene= Scene_Menu.new
    end
    def terminate
    @my_Guest.dispose
    end
    end

    the idear is that when the global vairable (20) is = to 1 then the actor in slot 2 of data base will apear in the
    entourage screen.
    now to get it to work in xp im gessing i need to change this part since theres no Scene_Base in xp

    Spoiler:
    class Scene_Guest < Scene_Base
    def start
    @my_Guest < Window_Guest.new
    end
    def update
    @my_Guest.update
    if Input.trigger?(Input::C)
    $Scene= Scene_Menu.new
    end
    def terminate
    @my_Guest.dispose
    end
    end


    i was hopeing some one could let me know what to change please.
    thanx.

    #Edit- ok ive figered that part out myself now i was just woundering the proper coad to beable to draw a characters name/graphic ive got the coad for the proper placement ect... but i dont have the coad for selecting the character to place/draw
    in vx its
    $actor=game_actors(2) or somthing like that but not sure what it is in xp
    __________________
    V8 Essentials with Ultimate BW Pack and pokemon follow ready to go.
    (I had nothing to do with its creation just put it together for genarl use) http://www.mediafire.com/?rtrco39udskdb81
    Credits go to
    p-Sign
    Clowcardruler
    Maruno
    Venom12
    FL .
    Help-14
    zingzag
    rick1234
    Reply With Quote

    Relevant Advertising!

    Reply

    Quick Reply

    Join the conversation!

    Create an account to post a reply in this thread, participate in other discussions, and more!

    Create a PokéCommunity Account

    Sponsored Links
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -8. The time now is 7:32 AM.