Status
Not open for further replies.

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
447
Reaction score
81
First Language
Portuguese
Primarily Uses
RMMZ
I need to get ID of a selected skill via script call which then would trigger a common event that will change certain variables based on what u've chosen.
Is it possible?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,033
Reaction score
10,029
First Language
German
Primarily Uses
RMMV
depends on when you want to execute that script call

why not simply trigger the common event directly by skill effect?
please give more details on what you really want to do instead of just how you want to do something unknown and we should be able to tell you how to proceed.
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
447
Reaction score
81
First Language
Portuguese
Primarily Uses
RMMZ
Because I don't want to create a separate common event for each skill. All of the skills will trigger the same one. Then it calculates which have been used and applies effects accordingly.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,033
Reaction score
10,029
First Language
German
Primarily Uses
RMMV
in that case you shouldn't need a script call at all, a simple control variable : game data : last used skill should be enough
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
447
Reaction score
81
First Language
Portuguese
Primarily Uses
RMMZ
Always forget about Game Data :0
Thx, this should work
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,033
Reaction score
10,029
First Language
German
Primarily Uses
RMMV
Always forget about Game Data :0
a lot of people do - or never have even looked at it.
which is one reason why I usually check when someone asks for script calls without details, because a lot of things are easier done by events instead of scripts...
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
447
Reaction score
81
First Language
Portuguese
Primarily Uses
RMMZ
Makes sense. I just got used to using scripts for everything.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,935
Reaction score
15,990
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

DamageEvil_5.png added!
index.php

Rendering the intro for the 4 time today, everytime it finished I noticed something that I found off and had to fix it and render it all over again...
Would not be so bad if it was not for my PC having the speed of a slug.:kaoswt2:
Tried something. Little sneak peak of Unity AD.
M42S7Us.gif

It's the little things. Lengthened the time the bar fades in and out to be a bit more comfortable.

Forum statistics

Threads
125,739
Messages
1,173,125
Members
164,889
Latest member
zyron250
Top