Automatically importing triggers?

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,342
Hi,

Is there a script/command I can put in a map which takes a(n) (absolute) path as an argument to search for a Trigger file (.wtg), which it then imports directly into the map?

It would run this command every time I load the map.
 
I dont think this is supported by this way(when map is loading), but you can do

//! import "filepath", which will import the script when you save the map

This will import a trigger file? Will it not overwrite the entire triggers already in the map?

Edit: Also, where does the script go afterward?
 
Last edited:
Status
Not open for further replies.
Back
Top