OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jojojoni on 21 Apr 2003, 13:53:14
-
Is there a command to detect what is targetting a specified unit?. I supposed that the command existed and was named TARGET, but it didnÂ't seem to work (maybe I used it in a wrong way :-\).
Thanks :).
-
I had the idea of making the player play as the leader of a squad, and when he orders a unit to target something the THING happen over the targetted one. Nobody answered :-X, so I suppose itÂ's impossible to do, or at least it isnÂ't know yet :'(. Thanks anyway :).
What I want to do is to make a THING happen (using trigers or scripts) over a unit chosen by the player as he is playing a mission. Does anybody have another idea ??? on how to identify a unit during the game, as youÂ're playing?
-
There's no such command that I know of. The closest thing alike could be the knowsabout command. So..
?(unitname knowsabout unitname > 3): do the thing
Sorry I can't be of more help :-\
-
I had also thinked about the KNOWSABOUT command, but thatÂ's not exactly what I wanted :-\.
Thanks anyway, help and helpers are welcome :D :D :D!!!