• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Auto Pick-up Object

Status
Not open for further replies.
Hello here,

I've developped a kind of FPS map. I realised that I had a major problem : picking-up objet. Indeed, the camera is fix. It can't look up or down. When the character move to an object, it is really hard to pick it up. The angle should be perfect and it is very annoying.
That's why I want to do a special kind of trigger. I would like to auto pick up an object when you walk on it, but I don't know how to do that. SO if you get an idea, I would be very glad to hear it.
Thanks.
 
Level 3
Joined
Dec 30, 2011
Messages
54
Just check if the unit is near the object: i mean the distance between unit and object (20 for example) ; then you remove the object and add the same type of object to unit
 
Level 3
Joined
Dec 30, 2011
Messages
54
Uhm every second pick every unit (make maybe a unit that rappresents the item) and check the distance between picked unit and your unit
 
Status
Not open for further replies.
Top