Hi, I'm Wizered67 and this is my first request.
Right now, the global switches and variables script for rmxos is really good and works great. There is just one feature its missing that I really want. Being able to have a global variable equal a string. Now, this might not seem very useful, but it could allow event systems that store another players username as a global variable.
Ex. (for the record, this isnt what I want it for)
You've made a player owned house system where players can one of 3 houses in the game. You can also visit other players houses. Using a global variable as a string equal to the player that owns that house's username, you could put a sign outside saying
"Player \v[]'s house" where the \v[] is the global variable equal to their username. The scripts I am using are
Default Scripts
Gameover script by Jackolas
Tons of Addons
RMX-OS Options
RMX-OS script
Global switches and variables for RMX-OS
ATES
ATES RMX-OS Pluggin
Mouse Controller
RMX-OS Main
thanks in advnce
To set a variable to a string use this in a script call.
$game_variables[variable id here] = "string name"
I'll look into setting it to an actual player name later. I'm not too familiar with rmx-os so you might need help from someone else.
I have tried. Its always equal to 0 even when I do that though. (it works when it isnt a global variable though)
edit: also, I already know (i think) how to set it to a players name. It just doesnt work.
The script doesn't allow transmitting of strings, it only transmits variables. Using strings in a variable is hacking after all and RMX-OS supports RMXP, not hacks.
so, is there some sort of way I could script this?
You'd need to edit both the client plugin and the server extension.