Chat Mouse Click Activation
Authors: Wizered67, Aegisrox
Version: 1.0
Type: Mouse Script
Key Term: RMX-OS Plugin
IntroductionThis scripts allow to activate the chat when you click on the chat line input, such as alternative to press the key F6.
Features
- Press inside the chat box input line to activate the chat
- Press outside of the chat box to desactivate
ScreenshotsNo Screenshots. Only click on the text input of the chat of RMX! What can I say?
DemoNo Demo
ScriptRequires Mouse Controller of Blizzard in order to work.
class Scene_Map
CHATBOX_X = 0
CHATBOX_Y = RMXOS::Data::SCREEN_HEIGHT - (RMXOS::Options::CHATBOX_LINES * RMXOS::Data::ChatFontHeight) - RMXOS::Data::ChatFontHeight
CHATBOX_WIDTH = RMXOS::Options::CHATBOX_WIDTH
CHATBOX_HEIGHT = (RMXOS::Options::CHATBOX_LINES * RMXOS::Data::ChatFontHeight)
alias update_chatbox update
def update
if Input.trigger?(Input::Key['Mouse Left'])
if $mouse.x >= CHATBOX_X && $mouse.x <= CHATBOX_X + CHATBOX_WIDTH && $mouse.y >= CHATBOX_Y && $mouse.y <= CHATBOX_Y + CHATBOX_HEIGHT
$game_temp.chat_active = true
else
$game_temp.chat_active = false
end
end
update_chatbox
end
end
InstructionsJust create a new script a put below de Blizzard Mouse controller
CompatibilityI don't know of any scripts this wouldn't be compatible with. But i tried with others mouse scripts and works great.
Credits and Thanks
- Wizered67 for doing
- Aegisrox for setting constants
Author's NotesEnjoy it
.