Alt syntax with two variants for createVehicle/createVehicleLocal/createSimpleObject/createMarker/createSoundSource:
<type> createVehicle [<pos>, [<lifetime>, <damage>]] createVehicle [<type>, <position>, <markers>, <placement>, <special>, [<lifetime>, <damage>]] createSimpleObject [<shapeName/class>, <position>, <local>, [<lifetime>, <damage>]] createMarker [<name>, <position>, <lifeTime>] createSoundSource [<type>, <position>, <markers>, <placement>, <lifeTime>]
- <lifeTime>: optional. time in seconds after the created object/marker would be deleted/killed.
- <damage>: optional. bool. True = given object gets damaged to death, false (default) = given object gets deleted. Supported only by objects that can receive damage of course.
Couple that with setLifeTime and lifeTime for setting/getting the given object's lifetime:
<object/marker> setLifeTime <lifetime> or <object/marker> setLifeTime [<lifetime>, <damage>]
- For setting the lifetime of the given object.
lifeTime <object/marker>
- Would return the current lifetime of the given object