Page 1 of 1

Enemy Spawner for Streaming World

Posted: Thu Jul 02, 2015 6:24 pm
by LypyL
V 1.1

https://drive.google.com/file/d/0B8_oQw ... sp=sharing

I made this a while ago for the last demo, but it was a bit hacky. Thanks in part to the code changes / additions by Interkarma it's much better now! :D

This is basically just a script that will spawn random enemies as the player moves around the world. There is also an input for manually spawning an enemy when you want. Note that this requires the latest developer preview version 1.3.23

Setup Instructions:

1. Import package as custom package in Unity (Assets > Import Package > Custom Package)
2. Add prefab as child to exterior parent object
3. Add SpawnEnemy to project inputs
4. Set enemyPrefab in inspector to DaggerfallEnemy [Demo] prefab from Assets > Daggerfal Unity > Prefabs > Scene

Let me know if you have any problems.

Re: Enemy Spawner for Streaming World

Posted: Thu Jul 02, 2015 11:22 pm
by Interkarma
Awesome! Can't wait to play with this. :)