Skill that activates a switch

Status
Not open for further replies.

AdampoTheBean

Villager
Member
Joined
Nov 11, 2013
Messages
21
Reaction score
1
First Language
English
Primarily Uses
Hi! - I'm trying to create a skill that activates a switch. I have all of the common events and the switch itself set up..

I just have no idea how to connect the skill to the switch ( Probably a script in the notes box )

-If anyone knows how to do this or knows a script that would be awesome!

-Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
In the damage formula box, just add this to the beginning:

Code:
$game_switches[id] = true;
followed by the current damage formula.
 

AdampoTheBean

Villager
Member
Joined
Nov 11, 2013
Messages
21
Reaction score
1
First Language
English
Primarily Uses
In the damage formula box, just add this to the beginning:

$game_switches[id] = true; followed by the current damage formula.
Brilliant! - it worked!

-Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
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.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top