OnEntityBuilt
Usage
- No return behavior
Example Autogenerated
csharp
private void OnEntityBuilt( Planner instance, GameObject result )
{
Puts( "OnEntityBuilt works!" );
}
Location
- Planner::DoBuild(Construction/Target target, Construction component)
csharp
//---
}
ConstructionErrors.Log(ownerPlayer, Construction.lastPlacementErrorDebug);
}
if (gameObject != null)
{
Interface.CallHook("OnEntityBuilt", this, gameObject);
Deployable deployable = this.GetDeployable();
BaseEntity baseEntity = gameObject.ToBaseEntity(false);
if (baseEntity != null && deployable != null)
{
if (this.ShouldParent(target.entity, deployable))
//---