OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: loner on 25 Apr 2005, 03:51:27

Title: cars not spawning
Post by: loner on 25 Apr 2005, 03:51:27
ok guys i have a few cars that wont spawn and i seriously need them to do this! ok i have the mustangGTR, Bronco, viper. the list may be longer but these are the only ones i have tryed so far. if you help it will be greatly appreciated! ;D because i am clueless ???
Title: Re:cars not spawning
Post by: Tyger on 25 Apr 2005, 10:35:14
myCar = "car class name" createVehicle getMarkerPos  "makerName"
Title: Re:cars not spawning
Post by: loner on 25 Apr 2005, 13:05:16
wow... i seem to have forgotten everything :Dwhere exactly does this go and what do i put there? ??? name of the car i want?
Title: Re:cars not spawning
Post by: macguba on 25 Apr 2005, 16:28:57
It goes wherever you like (waypoint, script, trigger) and the name of the car you want slots into the "car class name" bit.
Title: Re:cars not spawning
Post by: loner on 25 Apr 2005, 19:17:30
well im seriously not getting this can some one show me an example? I tryed to spawn the car but nothing happend 8)
Title: Re:cars not spawning
Post by: RujiK on 25 Apr 2005, 19:33:48
You will need the exzact name of the car, IE It will likely not be "Viper" But something different, you will need to look in the mission.sqm to find the EXZACT name of the vehicle, then just do car = "Jeep" Camcreate getpos player.
Title: Re:cars not spawning
Post by: loner on 25 Apr 2005, 19:36:00
Thats the problem it is the exact name :(
Title: Re:cars not spawning
Post by: loner on 25 Apr 2005, 19:41:04
 :D :D :D :D :D :D :D ;D ;D ;D ;D ;D ;D ;D ::) ::) ::) ::) ::)
im a tard!!! i was using a gomelogic and searching for a marker :P now it works THANX GUYS!!! :-* 8)