• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Remove Equip?

Frodie

Well-known member
Still working on the MSRD Robots, (almost done), anyways, I am working on an ability that mounts a chosen weapon to the robot. Got it all good, but I was just wondering, is there a way to remove the Equip check boxes that chosen weapon?

I have ATM

Code:
 Pre-levels 5500

if (container.ishero = 0) then

container.parent.field[usrChosen1].chosen.field[wClass].value = 0
container.parent.field[usrChosen2].chosen.field[wClass].value = 0
endif

But that didn't get it, any ideas?
 
Got it

Code:
 First 10000

~ If we haven't chosen anything, get out now
doneif (field[usrChosen1].ischosen + tagis[Target.?] = 0)

if (field[usrChosen1].ischosen <> 0) then
perform field[usrChosen1].chosen.assign[Helper.NatPrimary]
perform field[usrChosen1].chosen.assign[Helper.NatPrimary]
perform field[usrChosen1].chosen.assign[Helper.NatSecond]
perform field[usrChosen1].chosen.assign[Helper.NatTwoHand]
endif
 
Back
Top