TournamentWeapon's Affector should be an Inventory chain.
Posted: Sat Oct 01, 2016 5:31 am
The TournamentWeapon's Affector(Class: TournamentPickup) is only used by the UDamage, which inserts itself inside or remove the Affector without caring about the fact that the Affector could be consider as an Inventory chain, like in here:
or here:
This doesn't let players to carry new affectors while already carrying one and doesn't let modders to create new Affectors, or better, they could but if a player is carryng on that custom Affector, picking up a UDamage(or another Affector which doesn't care about other possible Affectors) would remove it.
And so I think I'm gonna fix UDamage class, create a mutator which replaces UDamages with fixed ones and put useful functions to put an Inventory inside an Inventory chain(whatever it is).
Code: Select all
TournamentWeapon(UDamageWeapon).Affector = None;
Code: Select all
TournamentWeapon(UDamageWeapon).Affector = self;
And so I think I'm gonna fix UDamage class, create a mutator which replaces UDamages with fixed ones and put useful functions to put an Inventory inside an Inventory chain(whatever it is).