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: all wet  (Read 789 times)

0 Members and 1 Guest are viewing this topic.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
all wet
« on: 24 Apr 2004, 16:14:37 »
how can I detect whether a unit,vehicle is in the water?  Not for some weird sensor but in case a player accidently falls/drives in the water it will setpos him elsewhere.  I have tried getpos select 2<0 but sometimes it becomes true even when not in the water.  Also tried !canmove and it is also not quite right.

DBR_ONIX

  • Guest
Re:all wet
« Reply #1 on: 24 Apr 2004, 19:33:31 »
Hmm... Have a look at the code for the CoC Swimmers :)
They wait until the person is under water, and make a vehicle underneath them..
The code is deffinitly there :)
- Ben