Env_beam, func_tank?

Avatar
FelixGriffin
2,680 Posts
Posted Jul 17, 2012
It seems that DLC2 broke the env_beam entity, as I can't get it to work. Can anyone confirm this? Env_laser works fine, but I liked having circular beams.

Also, I can't get a func_tank to target anything but the player. I've tried prop_dynamic, prop_physics, info_target, npc_bullseye, and the tank always seems to just sit there. Am I doing something wrong? (I need it to follow a physics prop until the player activates a trigger, at which point it follows the player instead.)

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Jul 17, 2012
Replied 3 minutes later
Try parenting a info_target to your physics prop.
Avatar
FelixGriffin
2,680 Posts
Posted Jul 17, 2012
Replied 26 minutes later
I tried that, it doesn't work. If all else fails, maybe a script which keeps firing SetTargetLocation with the origin of the entity. But that's really hacky, so I don't want to use it if there's an alternative.
Avatar
Skotty
671 Posts
Posted Jul 17, 2012
Replied 20 minutes later
SetTargetEntityName
Thats how func_tank works for everything since the first HL2 engine leaked.
Avatar
FelixGriffin
2,680 Posts
Posted Jul 17, 2012
Replied 31 minutes later
Ah, thank you so much! Does that work with !player, then?
Advertisement
Registered users don’t see ads! Register now!
Avatar
Skotty
671 Posts
Posted Jul 17, 2012
Replied 56 minutes later
As I said, with everything. Just try it out before you ask :razz: