Is it be possible to get a list of (case,integer) - SNIF map action

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
ozone
Posts: 744
Joined: Wed Mar 24, 2004 5:05 pm

Post 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
do it.
User avatar
haravikk
Site Admin
Posts: 987
Joined: Mon Mar 22, 2004 12:56 pm
Location: Scotland

Post 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.
Being Haravikk gets you girls like these:
Image
Graydon
Posts: 1605
Joined: Sun Mar 21, 2004 5:10 pm

Post by Graydon »

Lol. guess that's why it's only ever used on the tutorial map. Fun bit of info Hara :)
Image
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Post 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
User avatar
haravikk
Site Admin
Posts: 987
Joined: Mon Mar 22, 2004 12:56 pm
Location: Scotland

Post 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.
Being Haravikk gets you girls like these:
Image
Post Reply