AddBot Property

Usage:
   Ai.AddBot string string string v_personality name

Argument values:

argument 1:    v_arg2, v_arg3, v_arg4, v_name; most commonly v_name
argument 2:    v_arg1, v_arg2, v_arg3, v_side; most commonly v_side
argument 3:    default; most commonly default
argument 4:    v_personality
argument 5:    NoEquipment, v_arg2, v_arg3, v_arg4, v_name; most commonly NoEquipment

This property is not a part of any defined type of object.

Used in a total of 10 .con files: Addbot.con, Plane.con, Soldier.con, Soldier2.con, Spawnbot.con, Spawnsoldier.con, Spawntank.con, Spawntankpos.con, Tank.con, Vehicle.con

Parent directory of these .con files: ai

Example: (from ai/tank.con)
   rem *** Create Bot and attach to tank ***
   Game.CreateAIPlayer v_arg3 v_arg2 Assault v_arg1
   Ai.AddBot v_arg3 v_arg2 default StandardWeights v_arg3


Go to the Ai properties list page, Ai page, All Properties list, or Main scripting page.