Spawning monsters

L

Lumelin

Guest
I have problems spawning them... and when i get it fixed... they spawn in countless waves LOL... any suggestions?
 

Darg

Administrator
Reaction score
49
um, if you could tell us how you are spawning them, that would be good.......
 
L

Lumelin

Guest
i have it so this reacts after a unit enters the area

Event:

Unit - A unit enters Townarea <gen>

Condition:

(Townarea <gen> contains Guardian 0000 <gen>) Equal to True

Action:

Unit - Create 10 Grunt for Player 4 (Purple) at (Center of Townarea <gen>) facing 90.00 degrees
 

Darg

Administrator
Reaction score
49
lol this is a great way to crash your computer hehe :)

You have an event 'unit enters townarea'

You then in the action create grunts in the town area. And when you create these grunts in that region, the game is gonna see these grunts in the region and go 'hey some units have entered this region', and then fire the trigger off, once for every unit who entered the area.

So basically this is what happens:

- unit enters region for first time
- trigger fires, 10 grunts are created in that region
- 10 units have now entered the region, so trigger fires 10 times
- now 10x10 = 100 grunts have entered the region
- 100 grunts have entered the region, so trigger fires 100 times

etc. etc. until your game crashes

2 possible fixes:

add this condition:
(unit-type of entering unit) not equal to grunt

or add these actions:
trigger - turn off this trigger <= must be the first action

wait 1 second
trigger - turn on this trigger <= these 2 should be the last actions
 
L

Lumelin

Guest
i crashed it earlier today lol =)

i used the stop trigger at the end... with the condition as my hero... and added little regions for each grunt... works great... now i just need to figure out why it wont skip to my next load of triggers =)
 
L

Lumelin

Guest
fixed some of them... can't get the quest - update quest description and quest - create a requirement and quest - mark as completed to work... lol... i used em before and they worked, i'm just rotating them around and putting them in different places... worked for the other problem ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top