Jump to content
Sign in to follow this  
Victor Sant

VE - Followers Control

Recommended Posts

Victor Engine - Followers Control

 

Follower%20Control.PNG

 

This script allows the user to control the movement of the followers during events. With this you can make them leave the line, and return to the position at the event end. Using a comment call before the ‘Set Move Route…’ event command will make the move route commands works for a specific follower instead of the selected character. It's possible also to use this with the commands 'Display Animation', 'Show Ballon Icon' and 'Set Event Location'

 

Download:

Victor Engine - Followers Control

 

Credits:

Author: Victor Sant

Edited by Victor Sant

Share this post


Link to post
Share on other sites

GAHHHHHHHH.....FFFFFFUUUUUUUU

 

I just made one almost exactly like this tonight..... :P

 

 

Although mine is a LOT simpler :huh::

 

 

 


#===============================================================================
#                    N.A.S.T.Y. Follower Move Route 
#                  Nelderson's Awesome Scripts To You
#
# By: Nelderson
# Last Updated: 3/21/2012
#
# Version 1.0 - 3/21/2012
#===============================================================================
# Update History:
# - Version 1.0  - Initial release, made for BulletPlus
#===============================================================================
# This script allows you to use the move custom route command that you
# can use for all your other events, just now includes Followers!
#
# -Usage
#    When you select a new move route command in your event, make sure to 
#    put this script call in the FIRST SLOT:
#
#     force_move_followers(id)
#      - Where id is the follower id of the player(Starts with 0)
#        and anything after that will affect the follower instead of the event!
#===============================================================================
class Game_Interpreter
 def command_205
   $game_map.refresh if $game_map.need_refresh
   temp = @params[1].list[0].parameters
   if temp[0] =~ /force_move_followers[(](\d+)[)]/i
     character = $game_player.followers[$1.to_i]
   else
   character = get_character(@params[0])
   end
   if character
     character.force_move_route(@params[1])
     Fiber.yield while character.move_route_forcing if @params[1].wait
   end
 end
end

class Game_Character < Game_CharacterBase
 def force_move_followers(id = nil)
 end
end

 

 

Share this post


Link to post
Share on other sites

Curious: would it be possible to make the event in question change graphic (for emotions and whatever during cutscenes?) That'd be handy <3

Share this post


Link to post
Share on other sites

@Nelderson

Yes your is more simple, but your mine works with the commands Display Animation, Show Ballon Icon and Set Event Location. And have a better compatibility since it don't overwrite anything.

Also your script would cause issues with my Follower Options, wich improve followers movement. And one of my goals with my scripts is a good compatibility

Edited by Victor Sant

Share this post


Link to post
Share on other sites

Interesting- when the <gather followers> comment happens, the script errors out with this error message:

 

 

line 760: NameError occurred.

undefined local variable or method 'visible_followers' for #<Game_Followers:0x9168fc>

Share this post


Link to post
Share on other sites

Turning is not working for me. When I use this command : Turn(Up), Nothing happens.

 

Jumping works but turning doesn't work.

 

Should I use this comment in start of page just?

Edited by efeberk

Share this post


Link to post
Share on other sites

@efeberk

All move route commands are working. It your mistake or a compatibility issue. If you have other scripts besides the Victor Engine, make tests without them, if the command works, then it's a compatibility issue.

Don't need to post the other scripts you using here, i'm not looking into compatibility issues.

Share this post


Link to post
Share on other sites

This is your comment :

# and return to the position at the event end

So fix turns are not allowed for this script, right?

 

But I searching a fixed turn that means when i write <follower_turnright> or something, follower will not change his direction until when i change the direction or leader move.

 

How can I do it?

Share this post


Link to post
Share on other sites

<follower_turnright>

Lol, where did i ever list on the tags something like this? There's nothing like this in the script. This script ins't magic, "write any random thing you want and it will do for you". The note tags are listed, anything beyond what is listed will not work.

 

To use the script, you just call either <control follower: x> or <follower actor: x>, use the move route command, then uses the <gather followers> or the event command 'Gather Followers'.

That's all about this script

If you want to control the follower direction just use the <control follower: x> or <follower actor: x>, and use the move route command to change the direction.

 

Seriously, i still thinking where did you take this note tag from... there's absolutely nothing in the instructions like that.

Share this post


Link to post
Share on other sites

hahaha I just say an example for that. I know that not exist like "follower_turnright" method.

 

$game_player.followers[0].<move command> = your script :D<move command> = move_straight, move_random, etc...

 

So I can't find any different method. I should use static commands for followers.

Share this post


Link to post
Share on other sites

in fact this isn't how it works.

 

it just replace the "target" of the event command with a follower.

It will not work without the 'Set Move Route, 'Display Animation', 'Show Ballon Icon' and 'Set Event Location'.

Share this post


Link to post
Share on other sites

Dunno if you still read your blog, but I left in comments a bug report. After showing balloon icon for followers, they stop follow player altogether, just standing there (followers for which I didn't use this command still follow fine).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×