Home   Help Search Login Register  

Author Topic: Drop Partical array and other help!!  (Read 510 times)

0 Members and 1 Guest are viewing this topic.

Dingmatt

  • Guest
Drop Partical array and other help!!
« on: 10 Feb 2005, 12:51:15 »
I need help, on 2 things actually the first being i want to attach a damage script to a partical - basically you get hurt it a dust cloud drifts by you.
and secondly i need to be able to create a array for all the vech and units in a certain area (300m) but without giving them all names (like a search type script of something?).

Does anyone have any ideas? please, i'm really stumped...


Dingmatt
« Last Edit: 10 Feb 2005, 12:51:43 by Dingmatt »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Drop Partical array and other help!!
« Reply #1 on: 10 Feb 2005, 14:17:51 »
1.  Don't quite understand.   If you want to create a dust cloud use the command drop.

2.  Create a trigger over the area, activation Anybody present.   The trigger array contains all the units in the trigger area and is dynamic.    Use it in the On activation field as thislist, for example

thislist select 0 setCaptive true

or in a script, for example

_array1 = list triggerName

Syntax not guaranteed.    _array1 will update dynamically as units enter and leave the trigger area.   It makes no difference if the trigger has fired or not.   Use East, West or whatever as you like instead of Anybody.    It makes no difference whether the second setting is detected by, not present, or whatever.
Plenty of reviewed ArmA missions for you to play

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Drop Partical array and other help!!
« Reply #2 on: 10 Feb 2005, 14:39:33 »
I understand, but I can't help you :-) But I'll try anyway...

You want to create a moving dustcloud, right? In that case the trigger wont work, since triggers aren't moveable units. Make the dust cloud emanate from a game logic. This unit you can move across the battlefield with a script. Then apply damage to any unit who comes within a certain distance of the game logic.

Hope that helps.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Drop Partical array and other help!!
« Reply #3 on: 11 Feb 2005, 02:59:30 »
In that case the trigger wont work, since triggers aren't moveable units....

Not quite... they can be moved using setpos commands. They won't move on their own though... ;)