Jump to content


Photo

Disabling weapons?


  • Please log in to reply
1 reply to this topic

#1 Deathstrike

Deathstrike
  • Members
  • 11 posts

Posted 27 March 2006 - 05:38 AM

I'm scripting a code that allows units to have only limited ammo, which is resupplied by ammo trucks and depots. I won't go into the details since it's not really finished yet, but I'm positive it is possible (I'm using Lua scripting for the largest part)

Though, I have one question. Is it somehow possible to disable a single weapon on a unit when that unit gets an upgrade? I'd rather not use the PLAYER_UPGRADE weaponset, and since I'm not really familiar to BFME2 modding yet the question has me riddled...

If there really is no alternative, ideas on how to disable the full weaponset are also very much welcome ;)

Thanks in advance,

Deathstrike

#2 Deathstrike

Deathstrike
  • Members
  • 11 posts

Posted 27 March 2006 - 11:47 AM

Alright nevermind, I've already figured out something on my own.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users