I may need additional help. One of the variables in the kismet node is a struct. When I try to copy the struct from the node to the global variable I get an error. Am I doing something wrong?
SeqAct_TestNode.uc
class SeqAct_TestNode extends SequenceAction;
struct TestStruct;
{
var() int TestInt;
var() float TestFloat;
}
var TestStruct Example;
defaultproperties
{
ObjName="Test Node"
ObjCategory="Test"
VariableLinks.Empty
VariableLinks(0)=(ExpectedType=class'SeqVar_Object',LinkDesc="Target",PropertyName=Targets)
}
PlayerController.uc
struct TestStruct;
{
var() int TestInt;
var() float TestFloat;
}
var TestStruct NewExample;
function OnTestNode (SeqAct_TestNode Action)
{
NewExample = Action.Example;
}
Error, Type mismatch in ‘=’.