Deg 10 Posted August 29, 2010 Hi all , Im trying to have it so when the player drives a Ural Civil named "truck" to a new location the CoIn will move to that location when the player gets out of the truck so i tried putting this in the trucks init line truck addEventHandler ["GetOut", {myCoin setPos (position _this)}]; but i get an error when i get out of the truck, error position: Type Array,expected Object,Location could someone please tell me what im doing wrong.:confused: Thanks Deg Share this post Link to post Share on other sites
kylania 568 Posted August 29, 2010 (edited) Try this: truck addEventHandler ["GetOut", {myCoin setPos getPos (_this select 0)}]; Edited August 29, 2010 by kylania Share this post Link to post Share on other sites
Deg 10 Posted August 29, 2010 Awsome that did the trick, thank you :) Share this post Link to post Share on other sites