Author Topic: Activating with a Weapon  (Read 2469 times)

Or that.
I always forget about that.

heh, that works too, or maybe the jet key?

Jet key is already used for alternate fire for a lot of weapons.

Imagine... holding a machine gun that fires an explosive with jet. You go to press a button.
What happens?

You could use light, or any number of binds that call a serverCmd.

Jet key is already used for alternate fire for a lot of weapons.

Imagine... holding a machine gun that fires an explosive with jet. You go to press a button.
What happens?
:D
You could use light, or any number of binds that call a serverCmd.
what about signaling to others with light?

You could use light, or any number of binds that call a serverCmd.
Okay, either you miss out on lights or you give yourself away when you open a door/press a button.

I'm saying cancel brick is the best option, considering the only thing that it's used for is removing the ghost brick and clearing portals.

You could always just make it so when you left-click (even with a weapon in your hand), if there's a brick within the defaut activate range with an onActivate event(s) on it, but not being blocked by anything that would normally block a click, trigger those events instead of shooting.

You can activate stuff through players.
You are holding a sword.
Guy stands in front of door.
Invincible get.

Okay, either you miss out on lights or you give yourself away when you open a door/press a button.

It was an example of one of
any number of binds that call a serverCmd.

Another example - if the minigame doesn't use building, what about shift brick?
« Last Edit: September 29, 2010, 09:08:49 PM by Headcrab Zombie »

I was already thinking of using the shift brick buttons for something on my server. But how can you use 12 different buttons for activating an event?


Waiiiit... Keypads?

You can activate stuff through players.
You are holding a sword.
Guy stands in front of door.
Invincible get.

Ok, so just throw the player object type in the list of blocking types then. You could even check if TDM is enabled, and if so, let you activate through team members if you wanted to. Problem solved.

So wait, that code that M posted.
What do I do with that, like, do I put it in my Addons Folder?
I don't do coding at all...

If you don't know any coding, don't post in coding help.
This isn't a place for finished add-ons.

Least used keys by add-ons (hopefully they work): Vehicle next/previous seat when not in a vehicle.

Least used keys by add-ons (hopefully they work): Vehicle next/previous seat when not in a vehicle.
That would work, but most people seem to be unaware of the next/previous seat keys.