SetNumberOfTickets Property

Usage:
   Game.SetNumberOfTickets number number

Argument values:

argument 1:    range is 1 to 2; most commonly 2
argument 2:    range is 50 to 200; most commonly 100

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

Used in a total of 208 .con files: Conquest.con, Coop.con, Objectivemode.con, Singleplayerallied.con, Singleplayeraxis.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Market_Garden/SinglePlayerAllied.con)
   run singleplayer/ControlPointTemplates
   run singleplayer/SpawnpointManagerSettings
   run singleplayer/SoldierSpawnTemplates
   run singleplayer/SoldierSpawns
   run singleplayer/ObjectSpawnTemplates
   Game.MaxNrofPlayers 16
   Game.SetNumberOfTickets 1 120
   Game.SetNumberOfTickets 2 100
   Game.SetTicketLostPerMin 1 15
   Game.SetTicketLostPerMin 2 15
   if v_arg1 == host
   rem ----- Host
   rem ----------------------------------------------------------------------------
   run ai
   run SinglePlayer/ObjectSpawns
   run singleplayer/ControlPoints
   rem *** Always spawn immediatly in singleplayer missions!
   Game.TimeToNextWave 20


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