![]() |
no D weapon script help!
does anyone know the script for no NPC weapons but can still use a sword in the level
im told there is one but i dont know it... so help |
//NPC MADE BY UR MOM
functionhere(); |
Re: no D weapon script help!
Quote:
|
This would make the player use no NPC weapons
if(playerenters) { toweapons blah; disableselectedweapons; } if(weaponfired) say2 HAHA!; if(playerleaves&&isweapon) { enableselectedweapons; destroy; } |
Quote:
|
There is no actual in-built Graal script for that, although when disableweapons is properly used in combination with a weapon which checks keydown and does hitobjects it could easily be made.
|
Quote:
|
what pixie said would only work on npc server, and only with databased npc's . playerleaves is p2p only.
if you want to disable the screen just use disableselectweapons; if you want to disable then use of weapons in a level do timeout=.1; if (playerenters&&!isweapon) { toweapons *swordonly; } if (timeout&&isweapon) { if (!strequals(#w,*swordonly)) { disableweapons; } else { enableweapons; } if (!strequals(#L,yourlevel.graal)) { destroy; } } if (!strequals(#L,yourlevel.graal)) { destroy; } remember to plug in ur level to both places. and Poogles , much like Delphi you dont need brackets when you have single line of command. |
Thanks it works great!
|
Ohh yea, no NPC server commands =P
Me forgetting meh old scripting ways b/c of too much NPC server =P Quote:
|
1 thing
I just want to add a comment to help you guys out.
disableselectweapons; does not prevent the player from selecting weapons, it just disables the 'q' button. if you have that set, you can hold 's' and press 'd' to change weapons (which is also good for switching on the run from pkers and such). ;) |
...
|
Quote:
|
_.-:'Spanky':-._
|
Re: 1 thing
Quote:
|
yeah
thats what i thought too, so you could have an alternate use for the Q button. I just wanted to clear that up for the people that were saying use disableselectweapons; thinking that would work.
|
making your own weapons menu stinx b/c when u can't pause when u go into the menu :D
|
Quote:
yes u could. . if u just did a disabledefmovement when it went into the menu.. |
or
if you used a say 2 command.
|
4 realz?
disabledefmovement makes u pause? |
| All times are GMT +2. The time now is 12:31 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.