![]() |
Disabling nicknames?
I have a huge spar level on Era where people are seated around the arena, but their nicknames get in the way. I know you can easily disable nicknames in the options but I was wondering how to do this via script, can anyone help me out?
|
Could temporarily set enablefeatures to exclude nicknames...
PHP Code:
You'll just have to find out what the current enablefeatures is set at. |
that would just do it in the level, right?
I think I understand, thanks. |
//#CLIENTSIDE
function onCreated() onPlayerEnters();{ enablefeatures(allfeatures - 0x200); } Thats GS2 Command, I suck at GS2. So I don't know if its right? GS1 //#CLIENTSIDE if (created||playerenters){ enablefeatures(allfeatures - 0x200); } Then a command for the level adjacent to it for it leaving the level. So It enables the nickname text again. OR Just a command in a script for that specific level, disabling the nicknames/text. |
You should figure out when the player leaves the level, and then set it to normal.
Besides that, this is fine: PHP Code:
|
So, in the spar arena, I would put
PHP Code:
PHP Code:
I don't want to use enablefeature( allfeatures); because that might interfere with other stuff on Era, such as disabling S + A and S + D combinations for dropping/switching items. |
When you use enablefeatures( 0x200); thats the only feature that is enabled.
|
Quote:
More than likely in some system NPC, so just get one of the NATs to change this for you. Because if you do it in your level, it's going to enable everything except names. If you do it outside, you're going to enable NOTHING except names. So really, you're stuck. I'd suggest talking to the NATs, they can do this very easily. |
Frankie, if you use that script things like pause will be enabled again.
|
yeah, that's what I'm worried about.
snake says he added something a long time ago to disable certain things in levels, i'll have kinetaro or someone check the system npc. |
Quote:
Weapon/GUI-Script +Features PHP Code:
|
I think Vulcan put something like that in the -System npc for me, thanks for the help though guys.
|
Yeah, always check with the head of the scripting department (usually the head developer or so) or the Manager (if they have a good enough knowledge of scripting or how it works) before using enablefeatures()/showstats() somewhere.
|
| All times are GMT +2. The time now is 04:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.