View Single Post
  #1    
Old February 18th, 2013 (02: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