Page 1 of 1

101 ways to use a Tryker

Posted: Fri Oct 06, 2006 3:19 pm
by cloudy97
Well... this is the first one.

In my scenario a few tents are on fire and the adventurers need to put the fires out. Tents can't start missions, only NPC's can. So I added a short Tryker and named him Tent, and linked him to a Request Item mission, and it works pretty well.. if you don't mind that the tent "says" the mission text.

Edit: Forgot to say -- I place the Tryker inside the tent, which make him invisible (thank to his size) but you can still click and interact with him.

Re: 101 ways to use a Tryker

Posted: Fri Oct 06, 2006 3:21 pm
by sx4rlet
hahaha, I already love the title! Shame I have to wait till sunday to log in...

Re: 101 ways to use a Tryker

Posted: Fri Oct 06, 2006 3:55 pm
by kokunze
I needed some kind of "status marker" which can be on or off. It was needed to say, "if already that happened, then..." but there is no counter or something to use. So i used a tryker and placed him inside a house.(so he was invisible) I named him "switch" and let him spawn, when the conditions were met ;)

Re: 101 ways to use a Tryker

Posted: Sat Oct 07, 2006 10:28 am
by norvic
eee reduced to markers and switches, the shame of it!

But good tip :)

Re: 101 ways to use a Tryker

Posted: Thu Nov 02, 2006 9:09 pm
by nephy13
For all of the situations I can imagine (I accept there could be many other situations...), you can avoid using "artificial" flags by properly querying the entities in the game. For example, to see if a timer has completed, then query "finished" on it rather then using the timer trigger to set an external flag. To flag that a specific zone has ever been entered, just deactivate the zone when it is triggered (since you only need to trigger the zone-entry once in this case, it would be correct to deactivate it when it triggers anyway).

If you *really* need to make a flag, I'd suggest the best way is to create a non-creature like a dialog (which is always invisible) and use active/inactive as your flag value. Be aware that doing this will put Trykers out of work...

For a counter, you could use a timer that is paused (Put it as active in the editor and add an on-activated event that pauses it). You set the initial timer value to, say, 5 "seconds" and then you can add or subtract from this value. You will get the timer triggering when value becomes 0. You can alternatively query the "finished" flag to see whether the current value == 0.

Please be aware that if you set the initial time to 5 seconds, then you can only count down 4 times before the timer is triggered (I've tested this a few times and it seems consistent). Presumably the timer counts down once before you can pause it. So, if you want a counter for 5, then set the intial value to 6. Additionally, you must be aware that it would be reasonable for Neveraxx to change this behaviour on a whim, since this is not really what timers are for.

*Warning! Using these tricks is an ungodly fudge of the highest order and will prevent you from ever getting to programmer heaven*