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,296
Reaction score
10,165
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,296
Reaction score
10,165
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,296
Reaction score
10,165
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,966
Reaction score
16,019
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 Posts

Latest Profile Posts

Thinking of getting a mechanical keyboard, eventually! Would anyone be interested in a chill keycap-painting stream?
Walked through the rain to take pictures of an 50+ year old printing press for my students. Hope they will honor that effort xD
Can I promote my %75 OFF Creator Day Sale here, or it's against forum rules as well? :kaocry:
Tests for an alert system that spawns enemy reinforcements, as a stealth game should do :kaoswt2:
playing around animations with character sprites. having parallel events playing around with variables while also having an event have that same variable does wonders.

Forum statistics

Threads
126,910
Messages
1,182,255
Members
166,713
Latest member
escuro
Top