0 Favourites

[RESOLVED] Spawn when within boundry

  • I have spawners that trigger when the player is within a certain range

    <img src="http://i.imgur.com/CVavUg0.png" border="0" />

    The problem is that it only spawns when the first of a series of boxes are within a range. So if there are 2 boxes close enough, only the first one to enter the range would spawn a monster.

    if I remove the trigger once from the spawn it spawns monsters from all spawners indefinitely.

    Am I just coding this wrong or is it not doing what it should. My the appearence, it should trigger the instance box to true when the instance enters the range, and therefor trigger the spawning action once, per instance that becomes true.

    It may be related to a bug I filed as something straightforward (array_curvalue=95 when the only values are -1 0 and 95) doesn't toggle as well.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • <img src="http://i.imgur.com/9qfh6GV.png" border="0" />

    Got it working through experimentation

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
55 14,325
cingee's avatar
cingee
Unread hot topic
32 1,225
frilous's avatar
frilous
Topic
19 957
cjuliao's avatar
cjuliao