![]() |
disablesword;?
Hi i search for a command to disable the sword i tried some:
replaceani sword,idle; //but this hurts when u press the space key O.o disableweapons; //blah all weapons disabled :( disablesword; //is in my commands.rtf but wont work O.o Someone know a command to disable the sword? |
The only thing you can do is to rescript the weapon system.
|
Yeah with disableweapons? And callweapon selectedweapon,weaponfired;`?
|
Re: disablesword;?
Quote:
Quote:
|
stefan should put disabling the sword in enablefeatures
|
Quote:
|
From what I've seen, Stefan would rather simply tell you to rescript everything than add something new and useful.
|
Quote:
Edit: back on the old topic, I just rembered something I might have done a long time ago to disable the sword, set the players sword to a blank image (no-shield.png or whatever) set the swordpower to 0 and viola! no sword! just remember to save a string for when you need to restore the player's sword Note: It's been a very long time since i've played around trying to disable the sword, and I don't remember if this is what worked for me :( |
Quote:
::edit:: that sucked... dachs works |
Yeah but it still hurts the other players rofl
|
I just tested my last suggestion, it works, but be careful not to lose the player's sword data during the conversions! (make sure the sword is disabled when you enable, and make sure its enabled when its disabled)
|
Making a disable-sword in enablefeatures? Errm no?
NPC Code: |
I believe there was a very simple command.
Try changing the player's sword gani with another one. replaceani sword,idle; |
Great, then I can fire NPC weapons no matter whether I am swimming, carrying bushes, frozen by NPCs, riding horses...
|
That was mentioned in the first post. Read.
|
I did, but the way he posted was so unclear x-x' Why does nobody leave some space between crap? Even I did it as newb.
|
mine still works?
why, what, who, bah |
Quote:
|
| All times are GMT +2. The time now is 07:34 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.