Hi
Im developping a new gametype for UT2004 and I would need some help with unrealscript.
My gametype is roundbased and have two team, Hunter and hunted.
when a hunted get killed he repawns as hunter with a specific weapon.
At the moment, I have some trouble about compatibilities with inventory mutator.
(it works with standard pickup system)
I tried to completly discard the hunter inventory and give him the weapon in my gameinfo instance
but the player spawns with nothing(when arena is used).
so I wrote a mutator to clear the inventor, since each mutator must call function of the next mutator
in the list (modifyplayer() is the relevant one in this case) but it doesn't anything too.
Of course, I added this mutator to the game.
So my question is: Is it possible to override a inventory set by a mutator (via defaultweapon or giveto()
or other function )?
Thanks in advance.
Im developping a new gametype for UT2004 and I would need some help with unrealscript.
My gametype is roundbased and have two team, Hunter and hunted.
when a hunted get killed he repawns as hunter with a specific weapon.
At the moment, I have some trouble about compatibilities with inventory mutator.
(it works with standard pickup system)
I tried to completly discard the hunter inventory and give him the weapon in my gameinfo instance
but the player spawns with nothing(when arena is used).
so I wrote a mutator to clear the inventor, since each mutator must call function of the next mutator
in the list (modifyplayer() is the relevant one in this case) but it doesn't anything too.
Of course, I added this mutator to the game.
So my question is: Is it possible to override a inventory set by a mutator (via defaultweapon or giveto()
or other function )?
Thanks in advance.