thetrooper 10 Posted February 26, 2014 Hi all, I've got an object that triggers something when it's present. Easy to delete, but how do you spawn the object with the same name? Share this post Link to post Share on other sites
CSLALUKI 30 Posted February 26, 2014 (edited) First, create marker (in the editor) named tankFact. Then in the script file/trigger paste this: abrams = "M1Abrams" createVehicle markerPos "tankFact"; // create tank named abrams on the maker with name tankFact ... and if you want delete this tank, paste this on second line: deleteVehicle abrams; // delete tank named abrams ... and if you want to create vehicle with the same name, use: abrams = [i]"vehicleClass"[/i] createVehicle markerPos "markerName"; // create vehicle with the same name Hope you understand. :o Edited February 26, 2014 by [CSLA]LUKI mistake in script Share this post Link to post Share on other sites