byond - Modules - TypesVar Details - Proc Details

direction

Vars

last_faction_idUsed as a incrememnted var to create new faction IDs
leader_mappingthis is a map of defines to mob references, eg; list(FACTION_ID = , FACTION_ID2 = )
mobs_in_processingLookup for list( = squad_id)
processing_mobsthis is a two d list of defines to lists of mobs tracking that leader eg; list(CHARLIE_SL = list(<list of references to squad marines), XENO_NORMAL_QUEEN = list(<list of xeno mob refs))

Procs

clear_leaderClears the leader for this squad id
init_squadCreates a new squad so tat we can start tracking it's leader Arguments:
set_leaderSets a new leader for a squad
start_trackingAdds a new mob to a squad so it can track Arguments:
stop_trackingRemoves a new mob drom a squad so it can stop tracking Arguments:
untrack_all_in_squadStops all members of this squad from tracking the leader

Var Details

last_faction_id

Used as a incrememnted var to create new faction IDs

leader_mapping

this is a map of defines to mob references, eg; list(FACTION_ID = , FACTION_ID2 = )

mobs_in_processing

Lookup for list( = squad_id)

processing_mobs

this is a two d list of defines to lists of mobs tracking that leader eg; list(CHARLIE_SL = list(<list of references to squad marines), XENO_NORMAL_QUEEN = list(<list of xeno mob refs))

Proc Details

clear_leader

Clears the leader for this squad id

init_squad

Creates a new squad so tat we can start tracking it's leader Arguments:

set_leader

Sets a new leader for a squad

start_tracking

Adds a new mob to a squad so it can track Arguments:

stop_tracking

Removes a new mob drom a squad so it can stop tracking Arguments:

untrack_all_in_squad

Stops all members of this squad from tracking the leader