Nexus Skirmisher

Nexus Modding => Scripting => Topic started by: Mularac on March 13, 2011, 05:08:20

Title: Constant with the parent machine of a rule
Post by: Mularac on March 13, 2011, 05:08:20
Does someone know if it's there a way to know the identifier of the machine a certain rule is being executed on?

For example, having this machine:

Code: [Select]
MACHINE "Test"
STATE test
RULE event in
:action
e.var := M:GetMachine("Test");
:end
END
END
END

I'd want to know if it's there a way to adquire the same value that's stored on the "e.var" variable but generic.