Hi^^
i am trying to use a script in a plugin that shows what item was stolen from an opponent, with the help of the forum i could already build the needed message script.
But how can i let it fade out after 3 sec without any Game_input..?
--
thats my used script:
The way this works currently, its required for the Gamer to click, to fade out the message..
I know how to fade out after few secs in a textbox, but couldnt make it work on a "$gameMessage.add" script..
And i dont have much skills on both of them (textboxes&"$gameMessage.add")
i am trying to use a script in a plugin that shows what item was stolen from an opponent, with the help of the forum i could already build the needed message script.
But how can i let it fade out after 3 sec without any Game_input..?
--
thats my used script:
JavaScript:
$gameMessage.setBackground(1);$gameMessage.setPositionType(1);
var stolenWeaponId = targetBattleUnit[1]._equips[0].id;
var itemName = $dataWeapons[stolenWeaponId].name;
var msgIconID = $dataWeapons[stolenWeaponId].iconIndex;
var eName = targetBattleUnit[1].name();
$gameMessage.add(eName + "'s \\i["+ msgIconID +"]"+ itemName +" stolen!");
I know how to fade out after few secs in a textbox, but couldnt make it work on a "$gameMessage.add" script..
And i dont have much skills on both of them (textboxes&"$gameMessage.add")