Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Tenoukii

A couple of questions

Question

Hello (:

Question 1:

Can someone please put the instructions for the script calls for this script:

http://save-point.org/showthread.php?mode=linear&tid=2822&pid=1139#pid1139

in a way I understand? Its confusing and the only thing I do know is how to call the window!

 

Question 2:

I have items that can only be used from the menu, and only on the main character. How do I stop the window where you select the player to use the item on from opening for just those items? Is it even possible? lol

 

Thankss

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

What do you mean by script calls? like how to make the party switcher appear?

$scene = Scene_Switch.new

this changes the current scene (which would be like whether you are in battle, in the menu title screen, etc they are all scenes)

to the party switch scene...Or did you mean something else? if so please clarify

 

And as for the item thingy..to use only from the menu, there is actually an option in the item database called "Occasion" just set it to only from menu. To make it ONLY work on the main character, the best bet would to make a common event (in the database) that does what you want the item to do, except does it to the main character, then just link the item to that common event and set the scope to none. Then when you use the item in the menu, it doesn't choose a player, it calls the common event then does whatever you specified.

The downside to this, is that whenever you use an item that calls an event, it leaves the menu.

 

Also I think I found a bug in this script..if you switch your entire party out, then go back into party switcher you will not be able to put them back in your party. It probably shouldn't even let you switch out the entire party...

Share this post


Link to post
Share on other sites
  • 0

Thats what i noticed, and by script calls i meant were it says:

Instructions

Add in a new script above main

If you want to make an actor mandatory use .mandatory = true where actor is an instance of Game_Actor ex ($game_party.actors[0], $game_actors[2])

If you want to make an actor available use .unavailable = false where actor is an instance of Game_Actor ex ($game_party.actors[0], $game_actors[2])

That confused me a bit because I want to set the main character as a mandatory (so that the bug doesn't occur)

 

and for the menu's: Oh.

I did all that except the scope :sweatdrop: lol

 

Thanks :D

 

EDIT: Not a clue why theres a massive gap :S

But i forgot one other question about Tricksters Caterpillar script!

Is there a way to turn it on/off so that the party train is only there when I want it to be?

Edited by Tenoukii

Share this post


Link to post
Share on other sites
  • 0

Oh! Okay, the script creates extra attributes for the actor class, mandatory and available, so you simply have to call the instance of that actor, and the $game_party holds those instances...so for the first party member it would be

$game_party.actors[0].mandatory = true

 

and if you want to do this to any party member, just call $game_party.actors[x].mandatory or $game_party.actors[x].unavailable

x being the actors position in the party (0 = first actor)

 

And as for the caterpillar script I am not familiar with that one..does it not say if you can or cannot turn it off? Maybe if you link me to the script I will check it out

Share this post


Link to post
Share on other sites
  • 0

Hmmm. there doesn't appear to be any way to turn off the caterpillar system...however if it is for cutscenes that you want to turn it off, then you can always remove the players from the party before the cutscene then add them to the party again. Otherwise you may need a different script

Share this post


Link to post
Share on other sites
  • 0

Ah okay, that a bit of a bummer... but it's no major loss :D

And when I try the SC you gave, I get this error when I try to call the Switcher window:

err.png

      self.contents.draw_text(0, y, 224, 32, Switch_Setup::Unswitchable_Text, 1)

Share this post


Link to post
Share on other sites
  • 0

Sorry I answered this but then my internet crapped out

 

Unswitchable_Text is an undeclared constant in the module, line 246 should actually be

self.contents.draw_text(0, y, 224, 32, Switch_Setup::Unswitchable, 1)

 

just a little error on the scripters part, nothing that isn't easy to fix though :)

Share this post


Link to post
Share on other sites
  • 0

Ah okay :D That's fixed it now

 

I gave up learning to script... I started reading the tutorials but after the first paragraph I couldn't read any more :sweatdrop:

 

Thanks for the help thoughh!

Share this post


Link to post
Share on other sites
  • 0

Haha, no problem man :)

 

Yea it isn't easy to learn scripting on your own, especially if you have no background in programming. You gotta really stick to it, and do all the boring tedious stuff before you can really learn anything cool

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...