PDA

View Full Version : createVehicle



the_shadow
Dec 6 2006, 14:58
hi...

need some quick help...

i try to createvehicle a red smokeshell on a gamelogic.. but i cant find the correct line to put in the init field of a trigger...

tried
"smokeshellred" createVehicle (getPos logic1)

but that doesnt work... gives me a "type object, expected nothing" error...

hoz
Dec 6 2006, 15:27
This is how I do it.

smoke = "SmokeShellRed" createVehicle position GL1

the_shadow
Dec 6 2006, 15:50
verified and works in ArmA?

hoz
Dec 6 2006, 16:06
Yep. In a radio trigger. It did not work in the players init line.

the_shadow
Dec 6 2006, 16:28
it worked in a trigger....

thanks