tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,421
First Language
English
Primarily Uses
N/A
ItemCallScript 2018/09/20

Creator name: Triacontane​

Introduction
Create an item or skill that will run any script when used.

When used on the menu screen, can be done without returning to the map screen. (without the use of common event)

Note: Knowledge of RGSS is required for use.

VX Ace Script Call Collection from RMN- https://forums.rpgmakerweb.com/index.php?threads/item-script-call.114399/#post-1010194

Instructions-
Specify the following in the item or skill note box:
<=(Script you want to run)=>

Example(If used, value [100] will be set to variable [1])
Code:
<=$game_variables[1] = 100=>

If the effect range is set for all allies and all enemies, the script will be executed for all targets.

The following variables and functions can be used in the script.
user : Item user
target : Item target

How to Use
Paste this script above Main.

Script

Credit and Thanks: Triacontane

Terms of Use
-
Free for commercial and non-commercial use.

License
-
MIT License: http://opensource.org/licenses/mit-license.php
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,204
Reaction score
7,469
First Language
Indonesian
Primarily Uses
RMVXA
What is the difference between using this script and write a custom script, like
Code:
def something
  $game_variables[1] = 100
end
And call the function in the formula notebox?
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,421
First Language
English
Primarily Uses
N/A
I'm not triacontane or that knowledgeable of RGSS.
Not so different than using a script call for-
Code:
$game_variables[1] = 100

I guess it's a matter of preference if someone want to use script call when using items or skills.

___

If anyone looking for a list of script call for VX Ace- Script Call Collection from RMN

Event Page 1

† Message † Party † Actor †
† Game Progression † Flow Control †

Event Page 2
† Movement † Timing † Picture and Weather †
† Character † Screen Effect † Music and Sounds †

Event Page 3
† Scene Control † Map † System Settings †
† Battle † Movie †

Miscellanous
† Other Useful Things! †

Source- https://rpgmaker.net/scripts/464/
 

Shiro-chan

Friendly Neighbourhood Neppy Maid
Veteran
Joined
Aug 7, 2018
Messages
166
Reaction score
49
First Language
German
Primarily Uses
RMVXA
Would this work with equipment? As in, the moment a piece of gear is equipped/uneqipped, the Common Event/Scriptcall runs without needing to go to map first?
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,421
First Language
English
Primarily Uses
N/A
This script works with item or skill. Equipment does not apply.
Can be done through parallel process event of conditional branch (page 2)
when an actor is equip with something then use script call.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,005
First Language
Tagalog
Primarily Uses
RMVXA
I think what Theo means is that since you can use script calls in the item/skills damage formula box by default, how is this different? Even without this script, you can make items/skills use script calls via the damage formula box, so why use this?

As for @Shiro-chan 's problem, as he/she said, the problem with Common Events is that they dont run by default in the menu. So a common event (even if parallel) to check the equipment will only happen on the map, not on the menu...

If you're fine with doing what you need via script calls, you can try this script: https://lescripts.wordpress.com/rgss3/equip-events/

Or if you want to do it via common events, get Tsukihime's Scene Interpreter script so that common events will run on the menu.
 
Last edited:

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
816
Reaction score
1,421
First Language
English
Primarily Uses
N/A
I forgot about the formula box..

Putting the script call in Note box for Item/ Skill is accessible than having to pick type of damage to put in script call for item/skills damage formula box which is an extra click.
 

Latest Threads

Latest Posts

Latest Profile Posts

i want to make videogame, though i am burned out on games with RPG elements, but the only gamedev tool i know how to use is rpg maker. :/
Rakon wrote on xizorandy's profile.
Hello! I found a post of lightning strike pictures you posted. You said you made them, am I allowed to use them in my commercial project. Would be really cool!^^
evhht2zr.png

Have a nice day!
It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.

Forum statistics

Threads
112,256
Messages
1,066,849
Members
145,866
Latest member
Hallistra
Top