noxworld-dev / opennox

OpenNox main repository.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add function to enable activator option in triggers for: monster, NPC and missile.

Ephreaym opened this issue · comments

Triggers can be activated by various sources. However, you've to specifiy which source. Currently some maps, including original maps, don't have activation by NPC's/Monsters enabled. This makes it so bots can't interact with the triggers. There's two options.

1.) change all maps.
2.) add a function to enable activation by npc's/monsters so I can add a search function at the start of the script that finds all triggers and allows activation by the bots.

The second option is preferred in my opinion because it would work on all maps without the need to edit the map file.