Page 1 of 1

Posted: Fri Feb 03, 2006 8:12 am
by ozone
In loathing under map actions there is an Action called SNIF. It basically sees if the player is pressing the right keystroke. It is used alot on the tutorial map (00 Training Map in loathing). Well what Id like is a list of the integers for each keystroke. Ive tried to put the actual keystroke in the Element but no matter what Key I hit it always comes out as 0. So to use this map action I need to know the integers. Im also wondering if this would work for keys not used by myth. If so it could be a useful way to add a keystroke by scripting it. Anyway...this post is obviously for Myrd or CIK as they would be the only ones that could offer this information. So let me know. :o



Edited By ozone on 1138972518

Posted: Fri Feb 03, 2006 12:57 pm
by haravikk
Unless it's been changed, I'm pretty sure the only keys it recognises are the ones from the tutorial map, so the scripting in that is the full list :(

You should also never ever use this script action for a map where you know there is a possibility of more than one human player, because the moment you press a key that matches, everyone goes OOS.

Posted: Fri Feb 03, 2006 6:15 pm
by Graydon
Lol. guess that's why it's only ever used on the tutorial map. Fun bit of info Hara :)

Posted: Fri Feb 03, 2006 6:33 pm
by A-Red
Of course, if you ever had a reason you could set a PLCO to see if there is only one player and have it activate a certain SNIF. I can't think of any use for that action in regular solo maps, but it might be worth keeping in mind.

A-Red

Posted: Sat Feb 04, 2006 5:26 am
by haravikk
Well, it's useful if you want to make your own tutorial, or a solo map with an easter egg or something. I sometimes use it for triggering test scripts that let me skip to parts of a level I want to test.