I noticed that Custom Lua Function Info has the option of Variable as a Parameter. How should I construct a Lua Registered Function to accept a Variable as a parameter?
Thanks!

Code: Select all
public bool ContainsEntry(string entryTitle) {...}
Code: Select all
public bool ContainsEntry(double entryID) {...}
Code: Select all
Variable["RelationshipToPlayer"] = "Neutral"
Code: Select all
public bool IsFriendly(string relationship)
{
return relationship == "Friend";
}