| Home Page | Recent Changes | Preferences

# How UT Weapons Work

## Before we start

It is advisable to have the script code of the classes mentioned opened in an editor of your choice while reading this to compare the descriptions here with the actual code.

## Contents

- /Firing a weapon
- /Switching to another weapon
- /Picking up a weapon
- [/How bots choose a weapon]?
- [/Telling bots how to use a weapon]?
- /Double Enforcers (?) – How to make weapons like the UT Enforcer.

## Comments

Luggage: Can someone explain how the return value of the RateSelf() function is... valued? The higher, the more likely is a bot to choose that weapon... but... how often is that function called? And how do bots respond to it? Hm, maybe I could just have a look at what the other guns give back, ahem.

Category To Do

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In