Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › General Help › hook an object
5 posts, 3 people · 889 views Thread Rating: ★★★★★
closedhook an object
Started by Sohood on 03-08-2013, 11:10 PM
Sohood
started this thread
Posts: 92
Threads: 33
Joined: Sep 2008
03-08-2013, 11:10 PM #1

Is it possible to hook a dod object and be able to view it and follow it on your map. Say capture the documents, is it possible to detect the player who has the documents, able to follow that player in the map portion?

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
03-11-2013, 12:19 PM #2

For sure you can, how thats another story. Basically you find the documents in the list, then do a circular look for the closest player, that will be the guy carrying them. At that point you just call a spec look on that guy. All simple, as I haven't coded in YEARS, I couldn't tell you further than that. But some smart guy round here should know the actual code to go with the above pseudo code.rnrnCheers!

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
03-12-2013, 10:49 PM #3
Sohood
started this thread
Posts: 92
Threads: 33
Joined: Sep 2008
03-25-2013, 01:04 PM #4

Wish i could code lol. I don't know if i have the apptitude or the patience to learn something new.

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
03-26-2013, 01:03 AM #5

So did you want dead players to spectate the object? Or force everyone without the object to watch or just admin to spectate?nnHow did you envision the plugin to work in-game?

Archive › Old Forum Threads › Help › General Help › hook an object
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC