Re: Schematyc functions

#11
Hi there,

Instead of using the Argument type of EntityId, change it to Schematyc::ExplicitEntityId.

So your function looks like:

Code: Select all

void CInfectedAreaComponent::Entering(Schematyc::ExplicitEntityId Id) {
//Set that there is a player inside
bIsInside = true;
//Increment the player count inside the area
iPlayerCount++;
//Calls the function that adds the player to the area and such
PlayerEntered((EntityId)Id);

}
Uniflare
CRYENGINE Community Coordinator
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Re: Schematyc functions

#15
ScriptGraphSendSignalNode.cpp

Code: Select all

CScriptGraphSendSignalNode::ExecuteSendToObject CScriptGraphSendSignalNode::ExecuteSendToEntity CScriptGraphSendSignalNode::ExecuteBroadcast CScriptGraphArrayForEachNode::CreateLayout(CScriptGraphNodeLayout& layout) layout.AddInput("In", CryGUID(), { EScriptGraphPortFlags::Flow, EScriptGraphPortFlags::MultiLink }); layout.AddOutput("Out", CryGUID(), EScriptGraphPortFlags::Flow); layout.AddOutput("Loop", CryGUID(), EScriptGraphPortFlags::Flow);

Who is online

Users browsing this forum: No registered users and 2 guests