Nexus Modding > Scripting

Constant with the parent machine of a rule

(1/1)

Mularac:
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: ---MACHINE "Test"
STATE test
RULE event in
:action
e.var := M:GetMachine("Test");
:end
END
END
END

--- End code ---

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.

Navigation

[0] Message Index

Go to full version