{"name":"commandFSM","title":"commandFSM","type":"command","url":"https://community.bistudio.com/wiki/commandFSM","revid":377186,"updated":"2026-01-01T10:51:44Z","groups":["Unit Control"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Orders a unit to process command defined by FSM file (via the radio).","syntaxes":[{"syntax":"unitName commandFSM [fsmFile, position, target]","params":[{"name":"unitName","type":"Object or Array of Objects","type_expr":"Object | Array<Object>"},{"name":"fsmFile","type":"String","type_expr":"String"},{"name":"position","type":"Position","type_expr":"Position"},{"name":"target","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unitName"},"right":{"text":"[fsmFile, position, target]"}}],"examples":[{"code":["_soldierOne commandFSM [\"move.fsm\", position player, player];"]}],"see_also":["FSM","FSM Editor Manual","execFSM","completedFSM","doFSM","getFSMVariable","setFSMVariable"]}