Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: HOW TO TRACK A WEAPON?  (Read 939 times)

0 Members and 1 Guest are viewing this topic.

Offline ZNorQ

  • Members
  • *
  • ehr... uhm... duh...
HOW TO TRACK A WEAPON?
« on: 16 May 2004, 15:59:41 »
Hey!

I'm trying to track a particular weapon during the game play.  The reason for this is to track a backpack Andy Bergen made. Andy made these by creating two components for the backpack; one weapon type (for the secondary slot) and a crate that contains the items in the backpack.

When the backpack is dropped, the connected crate must be moved from [0,0,-20] to where the sack was dropped. (Remember that ANYONE should be able to pick up the sack.)  When picked up the crate for that sack moves back to [0,0,-20].

I was hoping there was an eventhandler you could connect to weapons, but I can't really see any way to do it.

(I'm gonna use 4 packpacks in my LAN game.)

Anyone got any ideas?

ZNorQ