Implemented trigger creation & deletion via lua
Triggers now have handles for simple understanding, but there's nothing preventing multiple triggers from sharing the same name.
This commit is contained in:
@@ -21,6 +21,14 @@
|
||||
*/
|
||||
#include "trigger_data.hpp"
|
||||
|
||||
std::string TriggerData::SetHandle(std::string s) {
|
||||
return handle = s;
|
||||
}
|
||||
|
||||
std::string TriggerData::GetHandle() const {
|
||||
return handle;
|
||||
}
|
||||
|
||||
int TriggerData::SetScriptReference(int i) {
|
||||
return scriptRef = i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user