Jump to content


Photo

How to make a unit Periodaclly spawn a unit

help code coding

  • Please log in to reply
No replies to this topic

#1 SarumanBitch

SarumanBitch
  • New Members
  • 4 posts

Posted 07 May 2020 - 09:55 PM

For example, I want Shelob to Spawn an Egg which after a short time will die and spawn 1 spiderling thus theoratically over time you can produce an army of single spiderling units simply by having Shelob on the Battlefield. 

 

I have attempted to code this MANY MANY MANY times, however in all cases, it works for the Human player without issue but after one or 2 spawnings from an Ai controlled Shelob, the game abruptly crashes to desktop with a Runtime Error.

 

Any thoughts or help would be appreciated.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users