Scripts / Free Skillcheck Script

Author
Message
Medmatheus
Reviewed GameGuru on Steam
9
Years of Service
User Offline
Joined: 18th Oct 2015
Location:
Posted: 15th Jun 2020 16:28
Hey guys,

I'm returning to work on my game, and now I'm preparing a new map. I decided to include skillcheck for some actions (like stealing a tool from somewhere). Since i'm basic in programming, the code ended up huge, but with simple language, easy to edit.

Heres the code (attach to non static object):



Sound 0 for correct keypress, Sound 1 for incorrect keypress.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Jun 2020 22:45
This is how you could do it with a shorter script.
Been there, done that, got all the T-Shirts!
PM
Medmatheus
Reviewed GameGuru on Steam
9
Years of Service
User Offline
Joined: 18th Oct 2015
Location:
Posted: 15th Jun 2020 23:34
@AmenMoses Thank you!
Pink Panther
14
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 6th Jul 2020 19:23
This is really great! Thank you Medmatheus and AmenMoses!
PM

Login to post a reply

Server time is: 2024-12-22 02:57:56
Your offset time is: 2024-12-22 02:57:56