Just in case my post in the V6 Bug Thread doesn't get lost. If anyone has small function requests feel free to post them.
V6 Function/Event Requests:
PHP Code:
// This will do exactly what paused and 100ap does -- player doesn't block and swords do nothing.
InvinciblePlayer(seconds); // Makes the player invincible for a set amount of time
InvinciblePlayer2(); // Makes the player invincible until it uses...
UnInvinciblePlayer();
player.dontblock();
player.blockagain();
Thread Explaining InvinciblePlayer:
Invincible Functions
A client-side event to detect when a flag (like attr[], client, clientr, serverr) is synced with the server-side value, so instead of doing:
PHP Code:
//#CLIENTSIDE
function onCreated() {
setTimer(0.05);
}
function onTimeout() {
if (this.last != clientr.test) {
updateClientStuff();
this.last = clientr.test;
}
setTimer(0.05);
}
I could do:
PHP Code:
//#CLIENTSIDE
function onFlagSynced(flag) {
if (flag == "clientr.test") {
updateClientStuff();
}
}