Wounded 0 Posted July 14, 2003 how can I get a vehicle to create in a surten pos. when ever someone get to do something like when this Vehacle is here create a tank there? I tryed many things and it wont work. it only works when people are teleported to a game logic pos. but I need tanks. I searched this forum and I cant find it. could anyone plz tell me the code to do that? Tnx. Share this post Link to post Share on other sites
bn880 5 Posted July 14, 2003 Best thing for you is to download the official command reference. here Have a look at the createVehicle command. an example: "M113" createVehicle getPos player Share this post Link to post Share on other sites
franze 196 Posted July 15, 2003 Additional question... when I use createvehicle, the vehicle is sort of "not seen" to everything in the game. Can't order get in, can't take weapons from it, etc. What causes this? What is the workaround? (BTW, to clarify, the proper code for createvehicle runs along: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_tank = "M1Abrams" createVehicle getpos unit1 "_tank" is the unit name, and the game doesn't like it unless you have that in there. But then again most of you already know this...) Share this post Link to post Share on other sites
Wounded 0 Posted July 15, 2003 tnx. btw that site is good, needed that. tnx for that too. Share this post Link to post Share on other sites
Wounded 0 Posted July 15, 2003 Can you get a Vehicle to create using a Triggure? Share this post Link to post Share on other sites
bn880 5 Posted July 15, 2003 Yep why not. In the activation field just do the create Vehicle. Share this post Link to post Share on other sites