The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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


Reply
 
Thread Tools
  #1    
Old February 18th, 2013, 02:49 AM
shadowriver
Beginning Trainer
 
Join Date: Sep 2007
Gender:
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

Last edited by shadowriver; February 18th, 2013 at 02:18 PM.
Reply With Quote
Reply
Quick Reply

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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 11:44 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.