Goonstation 13 - Modules - TypesVar Details

/datum/action/bar/private/icon/callback

Calls a specified proc if it finishes without interruptions. Only displayed to the user. Heavily copy pasted from /datum/action/bar/icon/callback.

check _std/macros/actions.dm for documentation on a macro that uses this.

Vars

call_proc_onset to datum to perform callback on if seperate from owner or target
end_messagewhat string is broadcast once the action bar finishes
interrupt_flagsset to a string version of the callback proc path
maximum_rangewhat is the maximum range target and owner can be apart? need to modify before starting the action.
proc_argsa list of args for the proc thats called once the action bar finishes, if needed.
proc_pathset to the path of the proc that will be called if the action bar finishes
targetwhat the target of the action is, if any

Var Details

call_proc_on

set to datum to perform callback on if seperate from owner or target

end_message

what string is broadcast once the action bar finishes

interrupt_flags

set to a string version of the callback proc path

maximum_range

what is the maximum range target and owner can be apart? need to modify before starting the action.

proc_args

a list of args for the proc thats called once the action bar finishes, if needed.

proc_path

set to the path of the proc that will be called if the action bar finishes

target

what the target of the action is, if any