{"name":"setTargetAge","title":"setTargetAge","type":"command","url":"https://community.bistudio.com/wiki/setTargetAge","revid":363641,"updated":"2024-04-09T21:20:52Z","groups":["Object Manipulation"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Sets how the target is known to the other centers. They behave like the target was seen age seconds ago.","syntaxes":[{"syntax":"object setTargetAge age","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"age","type":"String","description":"can be:\n\n- \"ACTUAL\"\n- \"5 MIN\"\n- \"10 MIN\"\n- \"15 MIN\"\n- \"30 MIN\"\n- \"60 MIN\"\n- \"120 MIN\"\n- \"UNKNOWN\"","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"age"}}],"examples":[{"code":["player setTargetAge \"10 MIN\";"]}],"see_also":["targets","targetsQuery","nearTargets","targetsAggregate","targetKnowledge","knowsAbout","reveal","forgetTarget","getHideFrom"]}