Jump to content
Sign in to follow this  
smookie

Key input?

Recommended Posts

Surfing on this forums i spotted somebody wrote a tiny script that was acting when somebody pressed a key (or i just thought i saw something like this lol). Is it possible and can somebody give me a tiny script that would activate when for example player presses "G" key ?

Share this post


Link to post
Share on other sites

I wrote a very similar script to what your describing (could be me your talking about acctualy..)

Theres a post in Addons and Mod : Discussion or Mission editing/scripts. Plane Action keys it was called I think..

It used FWATCH (Search ofp.info for it)

Basicly, it loops, checking if a key is pressed, if so, do suchandsuch, then return to the loop..

- Ben

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×