If you're going to teleport them, you might as well use a vscript to make it a lot easier.

Something like this, if all gasgans are named my_gascan, and the spots to teleport being any entities named my_teleport_destination:

function TeleportGasGans()
{
    local gascan = null;
    local destination = null;
    while( (gascan = Entities.FindByName(gascan , "my_gascan")))
    {
destination = Entities.FindByName(destination , "my_teleport_destination");
          if(destination)
              gascan.SetOrigin(destination.GetOrigin());
          else
             printl("Error: Ran out of destinations!");
    }
}

Robert Riter skrev 2013-06-13 01:16:
I have an idea, but I'll say right now I haven't tested it - I suspect it
will work fine however.

Instead of trying to block the gas cans, instead, *teleport* them.  Put a
teleporter brush around the gas can spawns somewhere else on the map, and
then simple engage the teleporters as you need to fetch cans.

I've done this with physics objects numerous times, but never tried with a
gas can; so again, there might be unforeseen consequences.  I suspect it
will be fine however.


_______________________________________________
L4Dmapper mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper

Reply via email to