Trigger Trouble

  • Thread starter Thread starter Mike H
  • Start date Start date
M

Mike H

Guest
Hi! I was directed to this message board from another message board. So far it sounds and looks pretty useful! Anyways... I'm having some troubles with triggers on a map i've been working on for awhile. What I have right now looks something like this:


Conditions: Player 1 kills exactly 1 Critter
Actions:Create 1 Critter at 'P1 Critter Cage' for Player 1


When I test the map, then 2 or 3 critters always seem to appear in the 'cage' when i kill one - after this, when i kill another critter, it doesnt work again. I guessed that adding 'Preserve Trigger' would make it keep working, so i tried this, only to find that after i killed 1 creature, more and more creatures would be continually added to the 'cage'.
I hope this makes sense to any who are reading it.

Thanks A lot!
 
Can I ask who showed you this msg board?

Anyways you need to use switches to do this form of triggers.

CONDITION
- Player 1 kills at least 1 Critter
ACTION
- Set 'Create Critter'
- Preserve Trigger

CONDITION
- 'Create Critter' is set
ACTION
- Create 1 Critter at 'P1 Critter Cage' for Player 1
- Clear 'Create Critter'
- Preserve Trigger
 
I found a link to this forum from opentechsupport.net. A user named FREAK posted the link http://www.the-group.org/forums/for...p?s=&forumid=16 which redirected me here! ( It was well worth the journey).

Anyways... I thought it might have something to do with switches...I just didnt know how to use them. I tried what you said Illendil, but what happens now is that the critters keep appearing in the cage until it is full, after killing only 1.

I'm not sure if it makes any difference, but I'm using "Starcraft X-Tra Editor v.2.5". Maybe I'm doing something else wrong. I'm not sure. :confused:

Thanks again for all the help! :)
 
Oh I see why, you need to put a set deaths action trigger in the second trigger and a deaths condition in the first trigger.

The new triggers would look like this:

CONDITION
- Player 2 has suffered at least 1 deaths of Critter
ACTION
- Set 'Create Critter'
- Preserve Trigger

CONDITION
- 'Create Critter' is set
ACTION
- Create 1 Critter at 'P1 Critter Cage' for Player 1
- Modify death counts for Player 2: Set exactly 0 for Critter
- Clear 'Create Critter'
- Preserve Trigger

If that doesn't work... :confused:
 
Awesome! It works! Thanks a lot Illendil!:D :D :D You must have a ton of experience with map making.
What are some maps that you have made?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content
  • The Helper The Helper:
    I wonder how all these bots that sit on the lastest content page get passed anubis or maybe they did not but they are just registering on whos online
  • The Helper The Helper:
    showing up on whos online not registration
  • Ghan Ghan:
    The first gate is stopping all the bots that don't execute javascript.
  • Ghan Ghan:
    That's the main thing with Anubis - no Javascript, no site. Typically you can still get the site to load without Javascript.
  • The Helper The Helper:
    I remember the whole javascript thing, question - how many real people disable that?
  • The Helper The Helper:
    Hell I guess I could go back on the stats to know that - we probably capture that and we know the before and after
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top