Jump to content

Recommended Posts

I'm trying to trigger something when a specific unit fires a weapon, in external lua script I'd make a custom event handler for this but I'm wondering if the same could be done in the mission editor. So using a lua predicate that checks event.initiator == something as a condition for a event based trigger (ON SHOT). Does anyone have any idea if this is at all possible?

Link to post
Share on other sites

No. These is nothing within the lua predicate trigger condition that refers to how it was activated or anything like that. You have to add an event handler via do script to check for what you want. 

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...