Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class LongbowAvril extends UTMutator;
- function InitMutator(string Options, out string ErrorMessage)
- {
- if (UTGame(WorldInfo.Game) != None)
- {
- UTGame(WorldInfo.Game).DefaultInventory[8] = class'LongbowAvril.UTWeap_LongbowAvril';
- }
- Super.InitMutator(Options, ErrorMessage);
- }
- function bool CheckReplacement(Actor Other)
- {
- if (Other.IsA('UTWeap_Avril') && !Other.IsA('UTWeap_LongbowAvril'))
- {
- ReplaceWith(Other, "UTWeap_LongbowAvril");
- }
- return true;
- }
- defaultproperties
- {
- }
RAW Paste Data