TMap.AddObject

function AddObject(Obj: TNewMapObject):TActiveMapObject Obj: new object to be placed on the map Result: newly created object

Description
This function will add a new object at position X,Y with target style. It will always be active.

Example
The below example will spawn a medkit on the players position whenever he types "Medic!"