Hey RPGMakers ^^
ive got a script for let sliding in a Button ^^
this.wait(1);
var buttonID = $gameVariables.Value(15);
var button_x = $gameSystem.mapButtonX(buttonID);
var new_x = $gameSystem.mapButtonX(buttonID) - 4;
$gameSystem.setMapButtonX(buttonID, new_x);
$gameSystem.setMapButtonVisible(buttonID, true);
but this var buttonID = $gameVariables.Value(15); dont work...
$gameVariables.Value(15) should be the Value of the Variable with ID 15,
how is it right ?
Sorry for bad english ^^
-Khayalan
ive got a script for let sliding in a Button ^^
this.wait(1);
var buttonID = $gameVariables.Value(15);
var button_x = $gameSystem.mapButtonX(buttonID);
var new_x = $gameSystem.mapButtonX(buttonID) - 4;
$gameSystem.setMapButtonX(buttonID, new_x);
$gameSystem.setMapButtonVisible(buttonID, true);
but this var buttonID = $gameVariables.Value(15); dont work...
$gameVariables.Value(15) should be the Value of the Variable with ID 15,
how is it right ?
Sorry for bad english ^^
-Khayalan