Home   Help Search Login Register  

Author Topic: Players ka-boom :)  (Read 1617 times)

0 Members and 2 Guests are viewing this topic.

Offline Yasirotta

  • Members
  • *
Players ka-boom :)
« on: 28 May 2009, 20:28:55 »
Im trying to edit "Battle Royale" style mission. It's going so far so good, but only one problem. I would like to automaticly destroy all players in this multiplayer mission who are in wrong place at wrong time. Idea is, that every 10 minutes one sector of map goes Kill zone. If any of player is in there when time comes up, it will be blown up  :cool2:

So, there is 4 zones what i should create whit triggers and mark in map whit markes, right ?
Now, what should i put in triggers or what kinda scripts should i use ?
Best would be if blown-up would happen by strenght of Hand Grenade or even little bigger ?

Offline firegraphite

  • Members
  • *
Re: Players ka-boom :)
« Reply #1 on: 29 May 2009, 03:23:11 »
Hi!

You could try a minescript below. Its right off from the editing center:

Quote

; **********************************************************************
; **** Causes an explosion at a trigger.
; ****
; **** 1 parameter needed:
; ****    1. Trigger where explosion will be. (Object)
; ****
; **** Example how to use:
; ****    TRIGGER:
; ****    Radius: 3
; ****    Name: Mine_1
; ****    Activation: EAST + PRESENT
; ****    On Activation: [Mine_1] Exec "Mine.sqs"
; ****
; **** By CHenderMan@cableone.net
; **********************************************************************

; Get the parameter given
_trigger = _this Select 0

; Get the position for the explosion
_pos = GetPos _trigger

; Set the type (change type here if needed)
_type = "grenade"

; Create the explosion
_mine = _type CamCreate _pos
CamDestroy _mine

Exit

you can just change the _type of explosion to something that suits your requirement like heat125(?) or something if you want a bigger explosion.
Also change the activation field of the trigger to a variable or something in conjunction with your timing script.
Alternatively, you might want to experiment with some artillery barrage or cluster bomb script. But I haven't tried those yet. This mine script i know works for me.

Cheers!!
« Last Edit: 29 May 2009, 03:34:38 by firegraphite »