• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

What if?

Started by Clavin12, May 13, 2009, 09:39:59 AM

Previous topic - Next topic

AHadley

Speaking of respawning vehicles, is there a way to make a 'spawn' item spawn a vehicle that isn't empty?

Alternatively, how can I spawn a Supercomputer sentry that respawns when it is destroyed?

Red Spot

Quote from: AHadley on May 14, 2009, 06:26:30 AM
Speaking of respawning vehicles, is there a way to make a 'spawn' item spawn a vehicle that isn't empty?

Alternatively, how can I spawn a Supercomputer sentry that respawns when it is destroyed?

Via dll its pretty straightforward, wouldnt know of any other way ...
If you look at the mpi sourcefiles and look at how the AI's startingvehicles are spawn you can see how you can spawn a vehicle at a specific spawnpoint, if you want to use more than 1 ships you could use the scav clean-up routine as an example of how you can store units in an array and clean it up.
*Something intelligent, yet funny*