YannFly Picture Common Event [Need Help Please ]

So you want both the rift and the holes to reset after tp?

yeah exactly, cause actually i have only the hole where the hero fall who get reset :/ all the rift stay on the map :s
simply have the switch for rift and switch for hole to turn off right before you teleport player.
When you teleport hero you can use another condition for player touch, like turn switch X and X off. this way it resets that tile or tiles if you have more then 1 with the same switch name. if its self switches then it will require a script.

i do that already but it work only for the hole not for the rift, i would like to when the hole is create, the hero's teleported to the floor and all the rift become reset, the last interupt(no automatic) is supposed to make me back to the start of the event but it work only the 1 case :/
i do that already but it work only for the hole not for the rift, i would like to when the hole is create, the hero's teleported to the floor and all the rift become reset, the last interupt(no automatic) is supposed to make me back to the start of the event but it work only the 1 case :/
You most likely need a plugin to do that since it require you to change other events’ self switches.
Wait nvm there’s a script call for that.
simply have the switch for rift and switch for hole to turn off right before you teleport player.
i have try it change nothing :/
the order is wrong so events dont happen. try using a fade screen out
self switch B off
self switch A off
maison switch on
teleport

on the other map have a fade screen in event run on parallel.

now if you want it set different then you can have it set like this.

use a script call
var m = $gameMap.mapId();
for (var s = 1; s < $dataMap.events.length; s++){
$gameSelfSwitches.setValue([m, s, 'A'], false);
$gameSelfSwitches.setValue([m, s, 'B'], false);
$gameSelfSwitches.setValue([m, s, 'C'], false);
$gameSelfSwitches.setValue([m, s, 'D'], false);}
turn on other switch and then teleport
You most likely need a plugin to do that since it require you to change other events’ self switches.
Thank's mate, maybe do you know the name of the pluggin i have to download?
try what i showed you, it will reset all self switches for that map.
You can use this script call instead if you don’t want to use a plugin.

$gameSelfSwitches.setValue([map, event, selfswitch], value)

Map = Map ID
Event = Event ID
Selfswitch = A, B, etc
Value = True (On), False (Off)
the order is wrong so events dont happen. try using a fade screen out
self switch B off
self switch A off
maison switch on
teleport

on the other map have a fade screen in event run on parallel.

now if you want it set different then you can have it set like this.

use a script call
var m = $gameMap.mapId();
for (var s = 1; s < $dataMap.events.length; s++){
$gameSelfSwitches.setValue([m, s, 'A'], false);
$gameSelfSwitches.setValue([m, s, 'B'], false);
$gameSelfSwitches.setValue([m, s, 'C'], false);
$gameSelfSwitches.setValue([m, s, 'D'], false);}
turn on other switch and then teleport

Omg u are a god <3 thank's mate it work i love you xD
And maybe someone know that, i have in the menu, stuff => Weapon, Shield, head, Body, Accessory for the main hero.

I would like to change it only for the 2nd hero to ==> Weapon, Magic Wand (to the shield place) , head, body and accessory.

Maybe someone know where i can change it only for one hero not for all?
If i change the name on the database it change for all characters :/
I think in your character database you can change what can be equiped. I could be wrong. Have not messed with that in a while. I'll have a look later
Yep on the database we can change the shield name to magical wand it change the name in the menu ==> stuff for all the carac, i just want for my caster to replace the shield to magical wand^^

i can equip my magical wand but on the menu i don't arrive to change it for magicalwand only for the caster class :/
Maybe someone know what's i have to do please?

To replace the shield to magicwand only for the casters classes?

Thank's^^
I have a other little probleme, i am making a system with a stone, i would like to make when this stone arrive to the hole, the stone 'fall' to the first floor, and let pass the hero, i already make the stone it work with the action button, but i didnt arrive to make the stone disapear (change image for a clear image) when its arrived on the hole only?

Maybe someone have one idea?

i have try with variable but its out of my competences and i find 0 tuto for that :/

Edit: i have arrived to do this with the position X and Y after fiew hours to try ^^

Thank's anyway all <3
Maybe someone remember how to work the Yanfly Action Sequence Pack 2?

I have bought it i try to make when my hero hit a target with a normal attack, he run a little on it before, but i didnt arrive to do this :/
Hi all !!

I apologize i have a bad english ! ^^

My problem : I just buyed Yanfly Picture Comon Event to make me a game pad, Up right down left Enter / escap or menu work fine.

But the command TriggerButton Dash doesnt work on me, someone can help me please?

I put screen :

Pad arrows work nice
entter button work nice
menu button work nice

The dash run button as u can see on the last screen ( the L button or the picture 17) nothing happen when i press it :/

And i would try to make another button more little for activate / desactivate the pad if someone know how to do..

Thank's <3

And sry again for my bad english^^

Is the thread got solution ? i am having the same problem
Ha
Hi all !!

I apologize i have a bad english ! ^^

My problem : I just buyed Yanfly Picture Comon Event to make me a game pad, Up right down left Enter / escap or menu work fine.

But the command TriggerButton Dash doesnt work on me, someone can help me please?

I put screen :

Pad arrows work nice
entter button work nice
menu button work nice

The dash run button as u can see on the last screen ( the L button or the picture 17) nothing happen when i press it :/

And i would try to make another button more little for activate / desactivate the pad if someone know how to do..

Thank's <3

And sry again for my bad english^^

Do you find the solution ? i have the same problem

Original thread: https://forums.rpgmakerweb.com/threads/yannfly-picture-common-event-need-help-please.124108/