RPG Maker Forums

hi 


How exit commonevent with script ?


For call a commonevent the script is 


$gameTemp.reserveCommonEvent(n);


but for force to exit is what?


i try this 


$GameTemp.clearCommonEvent(n);


no work


tanks for help


my reason is this.
I need to force out if this variable are true
$gameVariables.value(2)==85;


My commonevent are


◆Régler Trajectoire Mouv.:Joueur
:                        :◇Attendre:5 trames
◆Commentaire:if click do this
◆Script:if ($gameVariables.value(2)==85) {
:      :$gameSwitches.setValue(19, false);
:      :$gameScreen.erasePicture(300);



$GameTemp.clearCommonEvent(n);
:      :}

◆Script:new IAVRA.ANIMATE.Tween($gameScreen.picture($gameVariables.value(2)), {_scaleX:130, _scaleY:130}).easing(IAVRA.EASING.quart.out).duration(3).chain
:      :( new IAVRA.ANIMATE.Tween($gameScreen.picture($gameVariables.value(2)), {_scaleX:100, _scaleY:100}).duration(7)).start();
◆Script:itemselected = $gameVariables.value(2)-99;
:      :var TempsXselected = $gameScreen.picture($gameVariables.value(2))._x;
:      :var TempsYselected = $gameScreen.picture($gameVariables.value(2))._y;
:      :$gameScreen.showPicture(300,  String(itemselected), 1, TouchInput.x, TouchInput.y, 100, 100, 50, 0);
◆Jouer SE:pop1 (90, 150, 0)
◆Contrôler les Interrupteurs:#0019 itemget = ON

Latest Threads

Latest Posts

Latest Profile Posts

He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!

Forum statistics

Threads
106,036
Messages
1,018,461
Members
137,821
Latest member
Capterson
Top