Home   Help Search Login Register  

Author Topic: Condition: loon1 Spots loon2  (Read 640 times)

0 Members and 4 Guests are viewing this topic.

ProudPotter2490

  • Guest
Condition: loon1 Spots loon2
« on: 08 May 2005, 20:42:06 »
Hey guys!
I want to make a trigger where it'll only activate when one loon spots another loon. Simple query really :)! Thanks for any help.
ProudPotter2490 :afro:

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Condition: loon1 Spots loon2
« Reply #1 on: 08 May 2005, 20:48:49 »
Did you check this out?  It just a little way down the page.

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=23543

marcus3

  • Guest
Re:Condition: loon1 Spots loon2
« Reply #2 on: 09 May 2005, 01:12:28 »
just for the sake of us lazy guys out there (myself)
put in the cond field of your trig.
loon1 knows about loon2 == 3< the higher the number the more loon1 has to know about him. 1-4 are the only numbers that compute with the computer.
later




Offline Pilot

  • Contributing Member
  • **
Re:Condition: loon1 Spots loon2
« Reply #3 on: 09 May 2005, 03:22:28 »
Marcus3 is close, but I think there might be a problem with his suggestion:

"knows about" should be one word, and it is better to use >= or <= instead of ==

So, try this:
loon1 knowsabout loon2 >= 3

-Student Pilot

Offline Kundich

  • Members
  • *
  • "Habit is the daily battleground of character."
Re:Condition: loon1 Spots loon2
« Reply #4 on: 09 May 2005, 16:06:04 »
That's right about the ">".  If you don't, the trigger may not activate because the knowsAbout score raised above the "==" before the trigger fired.  Make sense?

I had something like that happened.  Couldn't get a trigger to fire.  Hacked me off.  Furious, I got up and killed a hobo.  Then, I figured out what happened.


Thanks,
ADM

ProudPotter2490

  • Guest
Re:Condition: loon1 Spots loon2
« Reply #5 on: 09 May 2005, 18:09:16 »
Hey guys!
Thanks for the help. I got it sorted! Cheers :)!
ProudPotter2490 :afro: