Firstly - thanks trigger for your help
Secondly - Bahumbug! Still no luck! :'(
I changed the "jeep" to "_jeep" on all relevant spots...but to no avail! It creates the jeep with no probs - but there's no marker on the jeep. Then after the jeep is destroyed, I get a marker error(See Attachment). The jeep destroyed message played and the jeep deleted.
Here is the script as it stands:
________________________________________
?(side player==west):goto "unlock"
exit
#unlock
?!(Count Units player < 11) : goto "fullteam"
"Jeep" createvehicle getpos player
_jeep = nearestobject [player,"jeep"]
call format [{_marker = "marker%1"},counter]
counter = counter + 1
?counter == 50:counter = 0
Player Groupchat "Jeep is ready!"
_marker setmarkertype "dot"
_marker setmarkercolor "ColorGreen"
#loop
_marker setmarkerpos getpos _jeep
~2
?!(alive _jeep): goto "dead"
goto "loop"
#dead
_marker Setmarkertype "marker" and _marker setmarkercolor "ColorGreen"Player Groupchat "A Jeep has been destroyed!"
~30
deleteVehicle _jeep
_marker setmarkertype "empty"
Exit
#fullteam
Player Groupchat "Cannot create Jeep, your squad is at maximum capacity."
exit
________________________________________
Not sure why it ain't working - everything seems in order. Oh, 1 question about the counter.
Shouldn't it have to say that counter is a PublicVariable? And If so, do i state it everytime? Or just in the Init?
ie:
counter = counter + 1
PublicVariable "counter"
Anyway - I will tweak it summore and see what i figure. again, if any1 can help..... ;D