Home   Help Search Login Register  

Author Topic: Group starting position randomizer needed  (Read 916 times)

0 Members and 1 Guest are viewing this topic.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Group starting position randomizer needed
« on: 10 Mar 2005, 22:56:57 »
hi there:

first, mi english is bad, so any problem answerme,
I was looking for a script wich can met the followin:

*Wolle Group single "Porbavility of presence"
*Wolle Group starting position randomizer (setted with a "heliport (invisible)" or something (or maybe a way to teleport wolle group to an x position)
* Not-the-same Starting-Position for more than 1 group

Can be done? ani ideas?


Thanks anyway
« Last Edit: 14 Mar 2005, 23:49:32 by Flauta »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #1 on: 10 Mar 2005, 23:15:08 »
You don't need a script:

For the group leader set the probability of presence.  Call him something, say AlphaLeader.
For each of the other members in the group set their condition of presence as

alive AlphaLeader

For random locations:

place some empty markers and group them with the group leader and he will start at one of them (or the place you put him on the map) selected at random.  If you have all the other group memebers in Formation then they will all start in formation with him wherever he starts.

I hope this is clear.
« Last Edit: 10 Mar 2005, 23:17:39 by THobson »

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Group starting position randomizer needed
« Reply #2 on: 10 Mar 2005, 23:21:03 »
Very nice!, this will be helpfull, but... what if a tigger mus be active till startpoint activates?

in the mission, fist the player's squad must  take a Russian city, then  some grups "appears" (far, so you cant see them appearing) and start attacking...
thats because i want a script...
any ideas?

i love this Forum :p

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #3 on: 10 Mar 2005, 23:23:25 »
You could setPos the units of the group to where you want them to be when a tigger fires.  

Have a look at this;
http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=22430
« Last Edit: 10 Mar 2005, 23:24:27 by THobson »

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Group starting position randomizer needed
« Reply #4 on: 10 Mar 2005, 23:51:28 »
about the wolle gruop probavility of presence.. didnt work...
but all the other is ok!

Still needing the script...

random teleportation (set by markers or Heliports) when a tigger is hit

and how to make the a wolle gruop probavility of presence???

well, i'll do the same post on avanced scripting.....

byes
« Last Edit: 11 Mar 2005, 00:19:29 by Flauta »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Group starting position randomizer needed
« Reply #5 on: 11 Mar 2005, 00:23:29 »
Quote
and how to make the a wolle gruop probavility of presence???

Quote
For the group leader set the probability of presence.  Call him something, say AlphaLeader.
For each of the other members in the group set their condition of presence as

alive AlphaLeader

The whole group appears in the mission ONLY if the leader appears.    No leader = no group.
Plenty of reviewed ArmA missions for you to play

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #6 on: 11 Mar 2005, 08:40:47 »
Quote
well, i'll do the same post on avanced scripting.....
Peopel might object if you do.  You will only get the same peopel looking at your post wherever you put it, and only one thread per question is the rule.

Bye the way.  If you look at reply #4 on the link I gave you above you will find a script that should teleport a group keeping them in formation.
« Last Edit: 11 Mar 2005, 08:50:56 by THobson »

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Group starting position randomizer needed
« Reply #7 on: 11 Mar 2005, 22:21:20 »
But it dont have a randomizer....  need a random position for the teleport...so it is useless for me

Thanks anyway

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #8 on: 12 Mar 2005, 00:15:34 »
Just look at reply #11 on the attached thread.  You really should keep your questions all in one place.

http://www.ofpec.com/yabbse/index.php?board=8;action=display;threadid=22430

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Group starting position randomizer needed
« Reply #9 on: 12 Mar 2005, 01:00:14 »
Thanks a lot THobson for your suppourt!

cheers

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Unsolved! help1
« Reply #10 on: 14 Mar 2005, 23:48:41 »
well I thougth that that was the script needed, but it was not!...  :'(:(, it dont wiork very well for my mission, there is maybe a way to do it whit markers, or heliports?


thanks anyway
« Last Edit: 14 Mar 2005, 23:49:58 by Flauta »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #11 on: 15 Mar 2005, 08:31:14 »
It will work with markers it is just that you can't use getPos, you have to use getMarkerPos instead.
« Last Edit: 15 Mar 2005, 14:20:28 by THobson »

Homefry31464

  • Guest
Re:Group starting position randomizer needed
« Reply #12 on: 15 Mar 2005, 18:38:57 »
Can't this be done with an extremely large placement radius?

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Group starting position randomizer needed
« Reply #13 on: 15 Mar 2005, 19:14:50 »
I think what he is after is not a randon start location but a location to setPos them to that is random.