Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 04:35:21 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: LUA - Alt+E on Health Station
Pages: [1]
Author Topic: LUA - Alt+E on Health Station  (Read 12950 times)
ozymandias
Poster

Posts: 1


« on: March 10, 2012, 12:09:31 AM »

I basically have tried to do this the wrong way about 20 times.
All I wanted is to be able to press ALT+E on a health station and have it do something besides heal me.

From what I've gathered, pressing ALT+E does something in the gamemode (the code I haven't been able to find) that makes you call a command. As I can't find this code I cannot learn from it and modify it so really I just need someone to point me in the right direction.


LUA eludes me. Documentation seems to be nil and I've looked around to try and get some well documented examples that aren't "Hello, I see you don't know what a programming language is, here come learn about variables because there is no way you already know what those are."
I'm fairly competent in several other programming languages but LUA just seems ass backwords.
BipolarDiZ
Poster

Posts: 101


|:NxS:| Staff! :D


« Reply #1 on: March 10, 2012, 02:47:00 AM »

Alt + E is used to secretly ID bodies. I don't know which lua file in particular it is defined but maybe that will help you.

BipolarDiZ is bipolar.
|:NxS:| Custom TTT Server: source.nxs-gaming.com:27015
|:NxS:| Vanilla TTT Server: source.nxs-gaming.com:27016
|:NxS:| Fretta: currently offline
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: LUA - Alt+E on Health Station « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.009 seconds with 18 queries.