Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Getting an actor's name with script, Using Save Info +
Shake0615
post Nov 29 2011, 04:39 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 25
Type: Event Designer
RM Skill: Advanced




Hey guys,

I'm using the Save Info + script by SojaBird and I need to know how I can get an actor's name using RGSS. How can I set the following script to be equal to actor 10's name?

CODE
$game_system.save_title = "actor 10's name"


Thanks so much!
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Dec 1 2011, 12:34 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,523
Type: Scripter
RM Skill: Undisclosed




You were actually quite close smile.gif
CODE
$game_system.save_title = $game_actors[10].name


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
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: 22nd May 2013 - 04:27 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker