Author Topic: Target Events v2  (Read 18429 times)

Target Events v2
Event-based shootable targets.


Description
This Add-On is based off the Shooting section of the Tutorial. It adds three new events - one input and two output events - to the game.
Input Event: onTargetProjectileHit is triggered when one of the brick's targets is hit by a projectile.
Output Event: spawnShootTarget is used to spawn a basic target on top of the brick, which can be given one of five appearances and made to appear 'knocked over'.
Output Event: spawnMovingTarget is used to spawn targets (up to five per brick) that move a specified speed/time before being destroyed and generate events when shot.

Lots of credit to Ephialtes for the Target models, which he made.

v2 fixes a glitch that could cause console errors and makes the timing for moving targets being deleted/shifted more accurate.

Download
SpaceMods Home Page
Download Page
Direct Link
View on RTB Download Manager

Apart from the target models (which belong to Ephialtes), this mod has been placed under the SpaceMods license. Please follow the rules given in the license if modifying and releasing derivative works which use this code.
« Last Edit: October 30, 2008, 03:51:05 AM by Space Guy »

Wow nice! Looks very useful.
This would be awesome for like target practice or a shooting gallery. :)

DL'ing
« Last Edit: August 16, 2008, 10:37:07 AM by DYLANzzz »



Enough of that. DYLANzzz has actually been more on topic than you, so far.

Wow, now if only you could invert targerts :)



then when it's hit have it fall?

I LOVE you. Thank you for this Event.

Awesome, Purely awesome. Great job Space Guy and Ephialtes.

Majorly cool, great job Space and Ephi :D

My Carni sences are tingiling...
Anyway these are quite fun :D
now only if we had ducks...

awesome,i could really use this in my rpg that is dead