Pyranara Posted March 8, 2016 Share Posted March 8, 2016 Is there a removal equivalent of adding items to templates in the unrealscript?Something equivalent to Template.Abilities.AddItem('StunLance');would be nice. The reason I ask is because the default melee attack is applied from the weapon template to all items under the sword category, and in adding the stunlance as a weapon, that provides two different melee attacks. The stunlance is actually a baton in the game files, which is the standard enemy melee object.I could define this as a baton and attach the baton to the list of ranger weapons, but then that would require any other classmod that uses melee to do the same should they want to use it, which isn't really opportune for interoperability between addons. Link to comment Share on other sites More sharing options...
GrimyBunyip Posted March 8, 2016 Share Posted March 8, 2016 you can just do RemoveItem https://wiki.beyondunreal.com/Dynamic_arrays Link to comment Share on other sites More sharing options...
Recommended Posts