Jump to content


Photo

AI spawn


  • Please log in to reply
2 replies to this topic

#1 Greenhawk911

Greenhawk911

    SHS Drumline

  • GMC Member
  • 462 posts
  • Version:GM:Studio

Posted 24 April 2012 - 10:13 PM

This is pretty straight forward. How do you make an enemy respawn after dying in a TDS game. I do instance create at their spawn but they just sit there and not move.
  • 0

#2 Kortuga

Kortuga

    GMC Member

  • New Member
  • 20 posts
  • Version:GM8

Posted 24 April 2012 - 10:48 PM

you could do something like:

In the Destroy event for the enemy:

instance_create(//enemy's spawn point_x,enemy's spawn point_y,enemy)

That way every time the enemy is destroyed it creates a new one at the spawn point.

I don't know what you have set up already, but I'm assuming it isn't doing anything at the spawn point after respawning because it isn't being created again, maybe.

Edited by Kortuga, 24 April 2012 - 10:49 PM.

  • 0

#3 Greenhawk911

Greenhawk911

    SHS Drumline

  • GMC Member
  • 462 posts
  • Version:GM:Studio

Posted 24 April 2012 - 11:24 PM

Works thanks bro :biggrin: :biggrin: :biggrin: :biggrin: :thumbsup:
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users