Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Calling the NameInput for a Variable-Stored Actor(SOLVED!), Should be simple...I hope
DUFUTA
post Feb 20 2012, 08:33 AM
Post #1


Level 5
Group Icon

Group: Member
Posts: 60
Type: Musician
RM Skill: Intermediate




I've been studying the Interpreter script and looking for a way to call the Name_Input Scene to change the name of an actor whose ID has been stored in $game_variable[4]. After studying, I tried a few different ways, like:

CODE
$scene = Scene_Name.new($game_variables[4], 8)


The thought process there was to pass into the scene, the actor's id (game_variable[4]) and the max length for the name(8).

I know these are the only two parameters which should be needed for the scene.

Anyway, it seems too simple to be racking my brain wallbash.gif this hard over. So a quick bit of help would be appreciated.

This post has been edited by DUFUTA: Feb 22 2012, 10:05 AM
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
heisenman
post Feb 22 2012, 09:12 AM
Post #2


Level 13
Group Icon

Group: Revolutionary
Posts: 237
Type: None
RM Skill: Undisclosed




I think this could have been done with conditional branches no?
w/e

Script call
CODE
id = $game_variables[4]
$game_temp.name_actor_id = id
$game_temp.name_max_char = 8

$scene = Scene_Name.new


__________________________
Complainers gonna complain
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 01:40 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker