Jump to content

Does anyone know how to add a keypress listener to LUA script in TW1


thebunnyrules

Recommended Posts

I'm trying to mod the player.lua script that came with FCR. I want to make it so that night vision only comes on when I input a certain key stroke rather then the algorithm Flash used. On the LUA sites, they say that LUA doesn't actually support keyboard input events (for portability reason) but some variation of it do. I'm thinking that the LUA that came with Aurora engine does (it wouldn't make sense otherwise for a videogame) but I have no idea what the synthax would be. Does anyone know? Failing that, does anyone know how I can mod the stats on the potitions to make CAT last longer?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...