Home   Help Search Login Register  

Author Topic: Not be "1"  (Read 819 times)

0 Members and 1 Guest are viewing this topic.

Offline 999chris

  • Members
  • *
  • I'm a llama!
Not be "1"
« on: 11 Apr 2005, 01:04:18 »
Hello... 6 men start off groupless... they all join an officer (part of the 6) after a certain trigger is activated. but the person I play as always ends up as 1 and the officer 6... meaning the formation is poo especially for Coulmns. How can I make it so I join as a lower number? and the officer is 1st?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Not be "1"
« Reply #1 on: 11 Apr 2005, 01:58:50 »
in a trigger field:
Code: [Select]
loon1,loon2,loon3,loon4,player] join officer_1
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline 999chris

  • Members
  • *
  • I'm a llama!
Re:Not be "1"
« Reply #2 on: 11 Apr 2005, 19:30:51 »
do you mean "officer_1" as being the units name right? If you have it like an array thats exactly how ive got the trigger set.

Code: [Select]
wesgrp=group s0

//s0 being the officer (Lietunant) in his init field

wesmen=[s1, s2, s3, aP, aF]

//s1 etc. Being other soilders in the group, aP being me. This is in a (Initilization) trigger's activation field...

//Triggers Activation

wesmen join wesgrp

this should still work right?

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Not be "1"
« Reply #3 on: 11 Apr 2005, 20:35:07 »
yes, it should. :)

If not, then you will probably have to do the list in full, but it is not that hard. :P
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline 999chris

  • Members
  • *
  • I'm a llama!
Re:Not be "1"
« Reply #4 on: 11 Apr 2005, 21:16:58 »
looks like im looking at the list then...
little help?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Not be "1"
« Reply #5 on: 11 Apr 2005, 21:23:14 »
Maybe you could try making the player join last.

[loon1,loon2,loon3,loon4] join wesgrp
~2
player join wesgrp


Maybe that would work.


Planck
I know a little about a lot, and a lot about a little.

Offline 999chris

  • Members
  • *
  • I'm a llama!
Re:Not be "1"
« Reply #6 on: 11 Apr 2005, 21:42:22 »
yeah done that aswell... not the same way though... I did it so when the truck arrives at the base the team join the leader excluding me and then on the leaders first waypoint (MOVE) I join aP to s0

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Not be "1"
« Reply #7 on: 11 Apr 2005, 22:35:40 »
I experimented a bit with this.  I thought it would be simple - in fact I thought Planck had the answer (give or take the odd square brackets :)).  I now don't see how it can be done - but I am not sure I see the need.  The officer will still be the leader so formations should line up on him

If you want to change the leader try this:

http://www.ofpec.com/editors/resource_view.php?id=770

I will keep trying

Tyger - what on earth does you sig mean.  I don't like the idea of being killed once let alone several times ;)


EDIT:

Okay I have found a way, but you might not like it.

Start with the player with a low rank in a group.  He will be assigned a number which will not be one.

then:

[player] join grpNull

[loon1,loon2,loon3,player] join officer

The player then seems to keep his original number
« Last Edit: 11 Apr 2005, 22:42:02 by THobson »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Not be "1"
« Reply #8 on: 11 Apr 2005, 22:42:41 »
Hmm......well, my square bracket key ran out of ink.  ::)  ::)


Planck
I know a little about a lot, and a lot about a little.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Not be "1"
« Reply #9 on: 11 Apr 2005, 22:43:31 »
Lol - I have the same problem.  Sometimes.

Offline 999chris

  • Members
  • *
  • I'm a llama!
Re:Not be "1"
« Reply #10 on: 11 Apr 2005, 22:52:19 »
Ah nice one I'll give it a try... Im so tired and lazy... and if you saw my mission you would see changing the smallest thing might cause it to fall apart Its a mess... s'all good though. Be right back.

EDIT:

Yep, I grouped ap with s3 (Prvate with Corporal) and then in ap's init field putted...

Code: [Select]
ap join grpnull
« Last Edit: 11 Apr 2005, 22:57:25 by 999chris »