OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Fudsine on 30 Dec 2008, 12:09:18

Title: Picking Up Objects
Post by: Fudsine on 30 Dec 2008, 12:09:18
Ok, sad to see the forums slowly dieing but i know you guys are still out there.... somewhere

Well im working on a script that allows a player to pick up and object and then drop it and repeatedly do it so you can set up your own bases in effect but without changing the amount of things there are on the map anyway i was thinking of using a small trigger around the object which when u go inside ur giving and action to pick it up if you do so it teleports off the map using setpos and then you are given the action to drop it where both the trigger and the object come to you using setpos but i dont know how to make it so that once you use the trigger only the person that picked up the object can drop it.
Title: Re: Picking Up Objects
Post by: bedges on 30 Dec 2008, 13:49:49
Why not add the action to the object itself?
Title: Re: Picking Up Objects
Post by: Fudsine on 30 Dec 2008, 17:11:07
awsome thanks, i didnt realise that was possible