My program doesn't have bugs. It just develops random features.
User:Crusha/UltimateMappingTools/EnhancedLevelGameRules
From Unreal Wiki, The Unreal Engine Documentation Site
< User:Crusha | UltimateMappingTools
Revision as of 15:03, 12 October 2011 by Crusha (Talk | contribs) (First revision of page. Checked for correctness.)
Original code idea by Wormbo
Object >> Actor >> Info >> LevelGameRules >> EnhancedLevelGameRules (custom) |
- Package:
- UltimateMappingTools
Additionally to the functionality of the normal LevelGameRules, this one can also forbid certain Mutators in the map, even if the server has chosen them.
For instance if you map would be exploited with the Stunt Mutator, you can disable it here completely.
Properties
Property group 'EnhancedLevelGameRules'
NotAllowedMutator
The class name of the Mutator that you want to forbid.
Instance functions
UpdateGame
function UpdateGame (GameInfo G)
Overrides: LevelGameRules.UpdateGame
Iterate the Mutator list and check if there is a Mutator that we want to forbid. IsA(*Array Entry*) will be used to check for them. Mutators with GroupName "Security" are left alone, although really crucial ones won't even bother about that.