Project X Forums http://px.worms2d.info/forum/ |
|
Disable a weapon http://px.worms2d.info/forum/viewtopic.php?f=15&t=621 |
Page 1 of 1 |
Author: | DarkLord [ Fri May 03, 2013 12:02 am ] |
Post subject: | Disable a weapon |
Is there a way to disable a weapon (ie. grey-out) when a certain condition is met? This would be like 'Select Worm' when there only 1 worm left on the team. What I am currently doing is setting the weapon delay to 255. This has the effect I am trying to achieve, but you can see the 255 so it's not very elegant. Is there a better way? |
Author: | StepS [ Fri May 03, 2013 8:43 pm ] |
Post subject: | Re: Disable a weapon |
you cannot see "255". if you set 255 in wa scheme editor you see nothing, just red label and greyed out weapon. |
Author: | DarkLord [ Sat May 04, 2013 9:34 pm ] |
Post subject: | Re: Disable a weapon |
Yes, normally that would be true. But... |
Author: | StepS [ Sat May 18, 2013 10:53 am ] |
Post subject: | Re: Disable a weapon |
use wsc scheme for this, and allow to tweak power. if it doesn't work, its a px bug or you could try to make it in wsc to 255 by default, then unlocking at start of game with a script, and then locking at will |
Author: | Gore33 [ Sun Jun 02, 2013 7:12 am ] |
Post subject: | Re: Disable a weapon |
hmm.... I think u setted delay way too much. Delay is, when your weapon appears. Maybe StepS has wrong question? Maybee ull set that delay to 0. Ur weapon maybe appears now. Your Will. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |