From bd60c3b153d825c9ec4039432f627f2b469db49a Mon Sep 17 00:00:00 2001 From: igorseabra4 Date: Sat, 18 Apr 2020 03:50:21 -0300 Subject: [PATCH] p59.2 --- .../ArchiveEditorFunctions_AssetTemplates.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_AssetTemplates.cs b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_AssetTemplates.cs index 36b691f5..3d70872a 100644 --- a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_AssetTemplates.cs +++ b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_AssetTemplates.cs @@ -989,6 +989,16 @@ public uint PlaceTemplate(Vector3 position, int layerIndex, out bool success, re { ((AssetSFX)asset).SFXFlag08 = 0x03; ((AssetSFX)asset).SFXFlag09 = 0xE6; + ((AssetSFX)asset).LinksBFBB = new LinkBFBB[] + { + new LinkBFBB(EndianConverter.PlatformEndianness(platform), false) + { + Arguments_Float = new float[4], + TargetAssetID = asset.AHDR.assetID, + EventReceiveID = EventBFBB.ScenePrepare, + EventSendID = EventBFBB.Play + } + }; } else {