</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Suma @ June 25 2002,10)</td></tr><tr><td id="QUOTE">Using createVehicle followed by setPos might do the job.<span id='postcolor'>
Suma, you are right, forgot about this possibility.
ok, after trying a while it works now. the problem is, that flashpoint seems to have problems if the fence is directed at a free angle. if it is directed N,W,S or E there is no problem for the AI to recognize it as a real fence (it doesn't matter if placed via 'camcreate' or 'createvehicle', both work!<!--emo&
There is still one QUESTION: Does anybody (BIS) know what the obj-name for the "fence2" obj in the wrp file is?
So how can i detect if the player is close to a fence-obj (placed in the wrp-file)?
Looking for xxx :
_obj = nearestobj[_player, "xxx"]
_obj = nearestobj[_player, "fence2"]
works for editor placed fences! But not for "build in" fences.</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"><span id='postcolor'>