Goto http://www.stucuk.netGoto http://www.atlanticaonlinewiki.comGoto http://www.game-requirements.com

VehicleConstructed

From Original War Support Wiki

Jump to: navigation, search

SAIL Events -> VehicleConstructed

Added In: 1.02

Description

This event appears when a vehicle is completed.

Exported Values

VehicleConstructed(vehicle, factory)

vehicle - vehicle constructed in factory
factory - factory

Example

You can use this in On Event like this:

export List;
on VehicleConstructed(vehicle, factory) do
Begin
  if factory = f1 then
    List = List ^ vehicle;
  if List = 5 then
    AddComAgressiveMove(List, 99, 13);
end;

This code checks, if the factory that constructed the vehicle was f1. Also it adds the vehicle to a list. It checks if there are 5 vehicles in the list. If that's true, they receive an order to aggressive move to (99, 13) for every unit in the list "List".

Personal tools
Clanbase
This is a cached copy of the requested page, and may not be up to date.

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

(Cannot contact the database server: MySQL functions missing, have you compiled PHP with the --with-mysql option? )


You can try searching via Google in the meantime.
Note that their indexes of our content may be out of date.