Content/BluePrints/Utilities/BP_UtilityLibrary.uasset add a return value EnemiesWithinRange for function Find Nearest Enemy . now it can return an array of all enemies within range.
NOT IMPORTANT
create child blueprint for missiles. Child BPs handles the material, missile spawn location and MissileDamage.
Add sockets on command ship mesh Content/Meshes/CommandShip/collision/CommandShipCollision.uasset in order to make life easier for assigning missile spawn location.
Content/BluePrints/CommandShip/BPCommandShip.uasset when attck level reaches 3, launch secondaries.
add a upgrade event (draft, will be implement as interface later)
MAY BE IMPORTANT?
Content/BluePrints/Utilities/BP_UtilityLibrary.uasset
add a return valueEnemiesWithinRange
for functionFind Nearest Enemy
. now it can return an array of all enemies within range.NOT IMPORTANT create child blueprint for missiles. Child BPs handles the material, missile spawn location and MissileDamage.
Add sockets on command ship mesh
Content/Meshes/CommandShip/collision/CommandShipCollision.uasset
in order to make life easier for assigning missile spawn location.Content/BluePrints/CommandShip/BPCommandShip.uasset
when attck level reaches 3, launch secondaries. add a upgrade event (draft, will be implement as interface later)