Enemy Spawner for Streaming World

Show off your mod creations or just a work in progress.
Post Reply
User avatar
LypyL
Posts: 512
Joined: Sun Mar 22, 2015 3:48 am

Enemy Spawner for Streaming World

Post 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.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Enemy Spawner for Streaming World

Post by Interkarma »

Awesome! Can't wait to play with this. :)

Post Reply