Edited by Zayber, 20 June 2012 - 09:51 PM.
Yanfly Party Command lock actor? VX Ace (Solved)
#1
Posted 15 June 2012 - 05:53 PM
#3
Posted 15 June 2012 - 06:06 PM
#4
Posted 15 June 2012 - 06:08 PM
I tried it, but when I try lock_actor(1) it doesn't work, and when I try lock_actor(Zayber) I get an error saying 'Game_Interpreter' line 1411: NameError occurredEvent Page 3 > Advanced > Script ...
That's where you input whatever the call is.
uninitialized constant game_interpreter::Zayber
Edited by Zayber, 15 June 2012 - 06:11 PM.
#8
Posted 15 June 2012 - 06:23 PM
It is. I made sure by deleting the script, and when the script is inserted it changes the formation menu.Hrm .. Well, the requirement for the call is that the new party menu must be enabled. So, I guess the first step is to check that it is.
#9
Posted 16 June 2012 - 01:14 AM
#10
Posted 16 June 2012 - 01:34 PM
how do I find the ID?I believe it's lock_actor(actor_id) so you need to find the actor_id of the person you want to lock, not the party member position.
#12
Posted 16 June 2012 - 01:45 PM
It still didn't work. I used lock_actor(001).It's the number in front of their name in the Actors section of the database (the list on the left).
#13
Posted 18 June 2012 - 07:32 PM
Did you configure any other options? If yes, wich options and how you configured them?
How many actors are in your database?
If you answer that questions i may be able to reproduce your error and see what's happening... or you can upload a demo of you problem so i can take a look.
#14
Posted 19 June 2012 - 06:19 PM
I have 12 actors in my database. The only two things I changed in the script is the max party to 4 and I turned display faces on.You have to use lock_actor(1) wich is refering to the first actor in your database. If nothings happens when you use this, you're missing another option or something isn't working as expected.
Did you configure any other options? If yes, wich options and how you configured them?
How many actors are in your database?
If you answer that questions i may be able to reproduce your error and see what's happening... or you can upload a demo of you problem so i can take a look.
#15
Posted 19 June 2012 - 06:40 PM
#16
Posted 19 June 2012 - 11:28 PM
I've tried that. I did that before trying the others. None of it seems to work for some reason... Is there another Engine I need with this one besides the core engine?Instead of lock_actor(name) use lock_actor(1) or (2) or whatever the ID of your characters is. For instance, if you want your main character, which is Actor 1 to be locked, do lock_actor(1), instead of (001)
#17
Posted 20 June 2012 - 12:44 AM
#18
Posted 20 June 2012 - 01:03 AM
It still didn't work. O_oYanfly Core Engine and Yanfly Party Commands should do it. Perhaps the Yanfly Menu system as well.
#19
Posted 20 June 2012 - 06:24 AM
Here's how to do it. Edit line 392 and 402 from:
return unless $game_party.battle_members.include?(actor.id)
to this:
return unless $game_party.battle_members.include?(actor)
And it'll work.
#20
Posted 20 June 2012 - 01:05 PM
Thank you! It worked.Ok, i did a little research and found that lock_actor(x) has a bug in the released version, but a comment posted on Yanfly's blog fixed that.
Here's how to do it. Edit line 392 and 402 from:return unless $game_party.battle_members.include?(actor.id)
to this:return unless $game_party.battle_members.include?(actor)
And it'll work.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users

This topic is locked












