Author Topic: Target Events v2  (Read 18428 times)

kool, downloaded!

now i dont even need to go on tutorial to do this!

Cookies?  :cookie: :cookie: :cookie: and an ice cream  :iceCream:  uh oh. cookie monster :cookieMonster:

Umm I have  question.
When I shoot the targets they Don't go down.
Do you have to be in a minigame for that to happen?

You have to use the events to make 'normal' targets go down:
[delay=0] onActivate -> Self -> spawnShootTarget -> [Target] [North] [unticked]
[delay=0] onTargetProjectileHit -> Self -> spawnShootTarget -> [Target] [North] [ticked]
[delay=1000] onTargetProjectileHit -> Self -> spawnShootTarget -> [Target] [North] [unticked]

Moving targets will always fall down when hit.

EDIT: A "[", a "0" and a "]" together make a
  • sign. Changed the format so it displays right.
« Last Edit: August 22, 2008, 02:24:14 AM by Space Guy »

Is there a way to make something happen when you hit a target? Im horrid at the events system so I can't find anything about it.

The input event onTargetProjectileHit is called when a projectile (bullet, spear, arrow, etc.) hits the target on the brick or one of the moving targets spawned by it.

You have to use the events to make 'normal' targets go down:
  • onActivate -> Self -> spawnShootTarget -> [Target] [North] [unticked]
  • [0] onTargetProjectileHit -> Self -> spawnShootTarget ->
[Target] [North] [ticked]
[1000] onTargetProjectileHit -> Self -> spawnShootTarget -> [Target] [North] [unticked]

Moving targets will always fall down when hit.
Ok thanks for answering my question.
I'm not a wiz with the new events system but I'll try.

umm.. great mods space you did it again  :)

question, space can u post up the exact things for the target to fall, i know you put it up but i tryed it all and it wont fall the target i on the top but it wont fall back or dissppear so can you put the exact thing like the other post

I trying to get hte moving target also but i dont get the last part output parameters
i did the...
onplayertouch>name brick(just named it "ttt")>Spawnmovingtarget>target-south-(dont know the this part i dont get it)[] [] [] [3] (for the output parameters)

Please help me space lol

P.S. you have an email for your email that u said any questions or comments.
quote me so i know your talking to me.
Soccer_J7
« Last Edit: August 25, 2008, 10:10:18 PM by soccerj7 »

Those are the events you use. Try adding those events to a brick, making sure you set the delays and un/ticked boxes correctly, and click on the brick then shoot it.

For moving targets, the three numbers define the direction it moves (like a projectile) and the 3 defines how long it lasts.

k and what would the #'s be just for like moving side to side for say 10 sec...
[?] [?] [?] 10

i'm a kid and dont know cords lol -well i do but not on a cp game...

hay spaceguy can you make a v9 bots mod. i will give you a cookie :cookie


k and what would the #'s be just for like moving side to side for say 10 sec...
[?] [?] [?] 10

i'm a kid and dont know cords lol -well i do but not on a cp game...

First box - X axis - +East -West
Second box - Y axis - +North -South
Third box - Z axis - +Up -Down

Spawn an item on a brick to find which way north/south/east/west are.

Every time i tick the little check box it still doesn't work. And when i go back to check if it was checked it isn't checked.
D: