Author Topic: Target Event: Weapon  (Read 1195 times)

This idea could be useful for challenges, and other things.
Basically, the event would let you choose a specific weapon, any that is available in the server, and only that weapon could activate the event.


OnWhatever -> Weapon -> DoWhatever


Examples:
OnProjectileHit -> Sword -> FakeKillBrick
OnProjectileHit -> Sword -> PlaySound

Etcetera.


I'm guessing that it's not possible without Badspot's doing?

Or extreme hacks to the client code, which wouldn't be very good. It'd be much better if Badspot did it

I sort of hate to bump this topic from earlier today, but doesn't this exist? http://forum.blockland.us/index.php?topic=56190.0

Edit: My apologies, i misunderstood the request.

I sort of hate to bump this topic from earlier today, but doesn't this exist? http://forum.blockland.us/index.php?topic=56190.0

Edit: My apologies, i misunderstood the request.

Well, that does suffice for now. However, if the weapon doesn't have a uiName on it's projectile, or two weapons use the same projctile, then the limitations show through.

Yeah. I'd prefer an officially made solution that would work with more than one thing. Otherwise you need a million ifProjectile, ifPrint, ifPlayerSaid, etc. events when you could have onPrintSet (A), onPlayerTalk ("Hello"), etc.

Yeah, I'm sure Badspot has plans for extending the event system.  I'd also like to be able to register event types on individual datablocks.  This would allow special events (like Door events) to only show up when you're changing the events on a Door brick.  That'd be sweet.