Did I find the right examples for you? yes no

All Samples(15)  |  Call(12)  |  Derive(0)  |  Import(3)
An output connection for an Entity. Used within 'connections' classes.

Example:

>>> conn = vmf.Connections()
>>> conn.children.append(Output("OnTrigger", "bob", "ToggleSprite", "",
...     3.14, -1)
>>> my_entity.children.append(conn)

src/v/m/vmflib-HEAD/examples/koth_vmflib_example.py   vmflib(Download)
 
from vmflib import *
from vmflib.types import Vertex, Output, Origin
from vmflib.tools import Block
import vmflib.games.source as source
c = vmf.Connections()
c.children.extend([
    Output("OnCapTeam1", cp_prop.targetname, "Skin", 1),  # Not KOTH-specific
    Output("OnCapTeam2", cp_prop.targetname, "Skin", 2),  # Not KOTH-specific
    Output("OnCapTeam1", gr.targetname, "SetRedKothClockActive"),  # KOTH-only
    Output("OnCapTeam2", gr.targetname, "SetBlueKothClockActive")  # KOTH-only

src/v/m/vmflib-HEAD/vmflib/games/tf2.py   vmflib(Download)
 
from vmflib.vmf import Entity, Connections
from vmflib.types import Bool, Origin, Output
 
class GameRules(Entity):
            c = Connections()
            c.children.extend([
                Output("OnMapSpawn", gr, "SetBlueTeamGoalString",
                    "#koth_setup_goal"),
                Output("OnMapSpawn", gr, "SetRedTeamGoalString",
                    "#koth_setup_goal"),
                Output("OnMapSpawn", gr, "SetRedTeamRespawnWaveTime",
                    respawn_wave_time),
                Output("OnMapSpawn", gr, "SetBlueTeamRespawnWaveTime",

src/v/m/vmflib-0.1.1/vmflib/games/tf2.py   vmflib(Download)
 
from vmflib.vmf import Entity, Connections
from vmflib.types import Bool, Origin, Output
 
class GameRules(Entity):
            c = Connections()
            c.children.extend([
                Output("OnMapSpawn", gr, "SetBlueTeamGoalString",
                    "#koth_setup_goal"),
                Output("OnMapSpawn", gr, "SetRedTeamGoalString",
                    "#koth_setup_goal"),
                Output("OnMapSpawn", gr, "SetRedTeamRespawnWaveTime",
                    respawn_wave_time),
                Output("OnMapSpawn", gr, "SetBlueTeamRespawnWaveTime",