Recluse Posted September 19, 2020 Posted September 19, 2020 Hi all, Forgive me if this is a topic that has been covered before. I did several searches and didn't quite uncover it. Is there a way to use a Trigger based on whether or not a unit is being lased? Icing on the cake to say lased by a particular unit and/or with a particular code, but just "UNIT LASED" would do. PREFERABLY built in without scripting, but I guess I need to learn scripts/MIST etc.. one of these days. Since the game can obviously determine when a unit is being lased by a CLIENT or JTAC, there must be logic there, but I haven't been able to uncover whether it can be used simply in a Trigger. Thanks!
Grimes Posted September 20, 2020 Posted September 20, 2020 Can't even do it with the scripting engine. It is something we have wanted for a while. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recluse Posted September 20, 2020 Author Posted September 20, 2020 Can't even do it with the scripting engine. It is something we have wanted for a while. Bummer!! Thanks for the info, though..
Vanguard Posted September 21, 2020 Posted September 21, 2020 Can't even do it with the scripting engine. It is something we have wanted for a while. Somewhat... you can use the Spot:getPosition() function and then compare that to say a radius of a unit, and if it's within 1 meter of the center of the unit you could "assume" it's lased, but technically you could be lasing the dirt between its wheels and it would still return true. Given the engine has sensors for LWS etc, I assume ED could certainly implement a proper trigger if they wanted, and either have it for all units, or only trigger for units with a LWR sensor.
Grimes Posted September 21, 2020 Posted September 21, 2020 Somewhat... you can use the Spot:getPosition() function and then compare that to say a radius of a unit, and if it's within 1 meter of the center of the unit you could "assume" it's lased, but technically you could be lasing the dirt between its wheels and it would still return true. Given the engine has sensors for LWS etc, I assume ED could certainly implement a proper trigger if they wanted, and either have it for all units, or only trigger for units with a LWR sensor. That is only for lasers you create via the Spot class. You can't get lasers any other way. It doesn't apply to lasers players, JTACs, or other entities create via avionics. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Vanguard Posted September 21, 2020 Posted September 21, 2020 That is only for lasers you create via the Spot class. You can't get lasers any other way. It doesn't apply to lasers players, JTACs, or other entities create via avionics. Bugger, I thought it was returned in search objects but you're right, it's not obtainable unless created by a script, too bad.
Recommended Posts