=KG76=flyus747 Posted November 17, 2021 Posted November 17, 2021 I am trying to create a practice range where if I kill a tank, it will spawn a different tank right away, is that possible in the editor? many thanks.
Sketch Posted November 17, 2021 Posted November 17, 2021 Very possible. Use a respawner MCU. Connect your onKilled to the respawner, and when the tank is killed it will respawn a new tank from the respawner.
IckyATLAS Posted November 17, 2021 Posted November 17, 2021 Be careful however that the destroyed tank is not at the same place of the one to be respawned. Otherwise do delete the destroyed tank (maybe still burning) first and then spawn the new one. Just an additional comment here. I had the following issue in the past, and it took me sometime to understand what was happening: If you deactivate an object (it is not visible and seems to disappear) it is not deleted. So if you spawn a new object on the same spot they will collide and the new spawned object will be destroyed. This means that a deactivated object seems to be physically in the background. 1
=KG76=flyus747 Posted November 19, 2021 Author Posted November 19, 2021 On 11/17/2021 at 6:09 AM, Sketch said: Very possible. Use a respawner MCU. Connect your onKilled to the respawner, and when the tank is killed it will respawn a new tank from the respawner. What about a bomb crater? I was thinking have a fake_block on the airfield and then if it gets destroyed by bomb, the fake_block will be replaced by a "Bomb crater" which is just a bomb crater decal on top of sandbags so airfield bombing would be possible in IL2. Is this fantasy or can it be implemented with current mission editor? The fake_blocks would be placed on the runway something like this so different layouts can be achieved
Sketch Posted November 19, 2021 Posted November 19, 2021 Ground entities don't have that type of logic. They're just set dressing... Place and forget. You can not remove them in a game session. 1
IckyATLAS Posted November 19, 2021 Posted November 19, 2021 Ahhh! if only we could spawn and delete objects and ground objects at will. If only...........?
=KG76=flyus747 Posted November 20, 2021 Author Posted November 20, 2021 20 hours ago, Sketch said: Ground entities don't have that type of logic. They're just set dressing... Place and forget. You can not remove them in a game session. understood, thanks for the input 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now