Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
LaDestitute

Item question (scriptlet line in common event)

Question

I'm working on a specific type of item for my project, and is there a scriptlet line (of course, to placed into a common event, item calls the common event) that will increase/decrease STR/AGI/INT/DEX of the actor using it? Of course, the "Change Parameters..." doesn't provide such a option, sadly.

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Could you be more specific? Is this a permanent or temporary stat change?

 

I would assume temporary, only because you don't want to change parameters. However, if you wanted it to be temporary, why would you just not apply status affect +Sharp, +Blink, etc

Share this post


Link to post
Share on other sites
  • 0

Permanent change. Basicaly, my project is a Chao RPG, and I'm including the Small Animals from SA2 as items. Sincethe stat increase/decrease window doesn't provide a option for the actor it targets, I need to know if there's a scriplet like that can do this.

Share this post


Link to post
Share on other sites
  • 0

Permanent change. Basicaly, my project is a Chao RPG, and I'm including the Small Animals from SA2 as items. Sincethe stat increase/decrease window doesn't provide a option for the actor it targets, I need to know if there's a scriplet like that can do this.

 

Sorry, I'm still kind of unclear. What is the difference between the items that you want, and items 17-22 in a default RMXP game?

Share this post


Link to post
Share on other sites
  • 0

The items I'm making are the small animals from Sonic Adventure 2. I want to know if there is a scriptlet line I can set up in a common event linked to it raise STR/DEX/AGI/INT for the actor that uses it not just a specific assigned actor, since "Change Parameters" event command doesn't allow that.

Like:

Bunny:

-16 STR

+40 AGI

+8 INT

+0 DEX

Share this post


Link to post
Share on other sites
  • 0

I don't think there would be a way to do this with a small script inside a common event. I could script you something for game_battler, which is where item effects and targets are defined, but if you don't mind using a status and conditional statement:

 

Create an new status named "Item Buff," or the like. Make your item, Bunny, apply this status, and run a common event.

 

The common event should: Check each character for the status inflicted flag, and if the character has the "Item Buff" status, then raise that characters stats, and remove the buff.

Share this post


Link to post
Share on other sites
  • 0

I think I know of another possible way. Is there a script command that instead boosts the stat of the actor in slot 1, 2, 3, or 4?

Otherwise, I'll go with your idea.

With the small script I was gonna make was something like this, but I don't know script language/termology:

If Item ID# is 34

true=

(apply stat command lines here)

false=

ignore

Share this post


Link to post
Share on other sites
  • 0

I think I know of another possible way. Is there a script command that instead boosts the stat of the actor in slot 1, 2, 3, or 4?

Otherwise, I'll go with your idea.

With the small script I was gonna make was something like this, but I don't know script language/termology:

If Item ID# is 34

true=

(apply stat command lines here)

false=

ignore

 

The only problem with this is that I don't know how you are going to read the currently selected item index or the actor index without making both global variables. If would like, I could make these changes in your Scene_Item, and Scene_Command/Scene_Selectable, and then I could simply provide you with a scriptlet. However, by doing this, I could possibly cause incompatabilites with other scripts you are using (or may use in the future), and it would be much more time efficient to just create common events ^^^

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...