Automatic Filterout event

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
User avatar
lumiere
Posts: 286
Joined: Tue Mar 19, 2019 10:38 am

Automatic Filterout event

Post by lumiere »

Title says all.
You don't no longer have to do endless "right-click and filter out" (or messy window) for every neutral contact.

Trigger - Unit detected (and classified by unit type)
Action - Just one line of Lua.

Code: Select all

ScenEdit_UnitC().FilterOut = true

And test scenario (Feel free to use this event [:)] )
Attachments
Automatic..outTest.zip
(18.13 KiB) Downloaded 15 times
"How Do You Stay Calm With A 7,000 Ton Nuclear Predator Listening For Your Heartbeat?"
My Lua garbages (Github)
Post Reply

Return to “Lua Legion”