Jump to content

Removing properties from templates


Pyranara

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...