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 › Scripting Help › get/readstring of object-sprite on hud
2 posts, 2 people · 674 views Thread Rating: ★★★★★
closedget/readstring of object-sprite on hud
Started by ghzero on 11-08-2008, 10:07 AM
ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
11-08-2008, 10:07 AM #1

hello,rnrndo you know how to read the string(the filename) of the viewed(on playershud) object-sprite?!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
11-08-2008, 12:36 PM #2

hook the Object message (95) and read the 1st argument stringnnlooks something like this:n

MessageBegin (Object "95") (Destination "One<1>") (Args "1") (Entity "1") (Classname "player") (Netname "software.skills") (Origin "0.000000 0.000000 0.000000")nArg 1 (String "sprites/mapsprites/ae_satchel2.spr")nMessageEnd (Object "95")
Archive › Old Forum Threads › Help › Scripting Help › get/readstring of object-sprite on hud
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC