Blockland Forums > Modification Help

Activating with a Weapon

Pages: << < (2/7) > >>

phflack:


--- Quote from: Headcrab Zombie on September 23, 2010, 11:57:58 AM ---No, you don't need to do anything with ActivateStuff, just make a serverCmd that calls it, and then a bind to the serverCmd.

--- End quote ---
why a server command? why not have it be clientsided?
also, i could make your way easily :D

Headcrab Zombie:


--- Quote from: phflack on September 23, 2010, 03:25:51 PM ---why a server command? why not have it be clientsided?

--- End quote ---


--- Quote from: Headcrab Zombie on September 22, 2010, 04:56:44 PM ---I guess you could make a bind to unequip weapon, click, and then reequip weapon, but that could mess up with weapons that have some sort of onMount animation or warmup before being usable.

--- End quote ---


MegaScientifical:

My solution to this problem was just adding onProjectileHit to the doors that does normal door activation. This, of course, assuming this is why you need this. Either way, adding onProjectileHit can also work.

Headcrab Zombie:

Long range sniping doors open go!

MegaScientifical:


--- Quote from: Headcrab Zombie on September 24, 2010, 12:19:47 AM ---Long range sniping doors open go!

--- End quote ---

Ah yes, I remember that accidentally happening when the spawn area for our team was behind some doors I added the event to. People kept trying to camp us and keep shooting the doors across the map, and it'd keep opening... Meh.

Pages: << < (2/7) > >>

Go to full version