Trigger crosslevel

Trigger_crosslevel

Classname: trigger_crosslevel
Purpose: triggering events in other maps.
H2 Code: triggers.hc
fields required: targetname, spawnflags
When triggered via its targetname, triggers an event on another level in the same hub (= unit), by means of a trigger_crosslevel_target entity with a shared spawnflag (therefore, a hub can have only 8 crosslevel-triggered events).

Fields

target Value is a name, of something targetted in the same map.
targetname Value is a name, of whatever targets the trigger_crosslevel.
map Appears in the game with map-names as value, but they don't seem to do anything (the actual event-triggering is via spawnflags. Intermal documentation, perhaps?
message, delay, killtarget As usual (latter two triggering in the same map as the crosslevel_target).
spawnflags: Here the spawnflags serve to link triggers & their crosslevel targets; a crosslevel_trigger fires a crosslevel_trigger_target in the same hub just in case they share a spawnflag. It's supposed to be OK for multiple spawnflags to be checked (haven't checked it personally).

Back to the list.