Jump to content

Any way to spawn an animal by placing a block?


Recommended Posts

Zombie have a "Territorial" AI-task(3) that i'd like to take advantage of. I'd like to place a block, which disappears and creates a static animal with no animations, acting as a land mine. The key is getting that block converted into a 'animal' class that fits in the 'Territorial' task.

 

Otherwise, any way of assigning some kind of 'animal' tag to a block itself might be sufficient.

 

I'd just think it'd be cool to set up a fake deer that they see, then attack, with a nice kaboom waiting inside.

 

Any help or suggestions are appreciated.

Link to comment
Share on other sites

Try using the cop class that explodes when damaged. have the game spawn a deer prefab with that class, and remove the wander and attack tasks. Alternatively, make a copy the landmine but swap in the deer prefab for the model. One of those might work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...