nate5188 Posted September 8, 2010 Share Posted September 8, 2010 How can I get a player's tank in a solo mission to respawn when it dies? I've been using duplicate tanks, but it seems like there should be a better way to accomplish this.Thanks for any help. 0 Quote Link to comment Share on other sites More sharing options...
Zipuli Posted September 8, 2010 Share Posted September 8, 2010 No way to do this: If a tank dies, it is dead... 0 Quote Link to comment Share on other sites More sharing options...
BaLrOg_70 Posted September 8, 2010 Share Posted September 8, 2010 only way I can think off would be to have zones set up and some 'jump to end' and 'spawn if' commands where if one tank dies another spawns in the zone it died but thats probably not what you had in mind 0 Quote Link to comment Share on other sites More sharing options...
CalAB Posted September 9, 2010 Share Posted September 9, 2010 Looks like some of the local Jedi type gents missed this one. :biggrin:What you can do to simulate spawning is to [using the mission editor of coarse] set units to spawn as soon as a unit is destroyed. Example: I create a tank unit in the editor and make it live once the scenario begins. This unit fights in whatever situation I create until it is knocked out. What I now do is lay down as many other units of the same type wherever I want to place them and assign a spawn condition to all of them in a sequential order. If unit 1 is destroyed spawn unit 2 etc. What you need to do is play with the mission editor until you get a feel for how the logic works. Trial and error is the best teacher I have found. Good Luck. 0 Quote Link to comment Share on other sites More sharing options...
Members Ssnake Posted September 9, 2010 Members Share Posted September 9, 2010 However, you can't resurrect the player's tanks (per the original question) .... except maybe with a "repair all" function and the condition that the player's tank is dead for a certain amount of time. However, the enemy that killed you is still there and could kill the player's tank right away, so that might not always work out well. 0 Quote Link to comment Share on other sites More sharing options...
Moderators Volcano Posted September 9, 2010 Moderators Share Posted September 9, 2010 One way to do it would be to have a scenario start with one tank or one platoon, with a score of X to start with. Then have some spawns based on triggers, and those triggers cause a reduction in score. So, lets say the mission score starts as 600, and successful mission (ie. capturing an objective, or destroying the enemy) is another 400 for a total of 1000 points. Now lets say you want "3 lives" for the player, and each time a player spends a life, he loses 200 points (1/3 of 600). In this way a user that can finish a scenario with minimal "lives" spent will get a higher score, and if a user spends all but the last life and still "wins" then maybe he still cannot win based on points, but instead has a minor defeat. Almost anything is possible in SB if someone thinks creatively enough... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.