OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Driden on 25 Jan 2004, 05:20:43

Title: joining units
Post by: Driden on 25 Jan 2004, 05:20:43
hiya all..

need a lil help on joining a unit/s to a group when you enter thire zone..

like when you start off with 5 units in a group and after walking along to pick up another...

pls help  :D
Title: Re:joining units
Post by: -=Tumble_Dry=- on 25 Jan 2004, 05:36:16
if, i cant remember, u need to set one of your groups waypoints as join and lead, and the other just join. then syncronicse the two. but be warned, u dont want more the 12 units. then they become uncontrolabel  :o
Title: Re:joining units
Post by: Driden on 25 Jan 2004, 05:44:31
sweet thanx mate  :D :D
Title: Re:joining units
Post by: dragonshinobi03 on 25 Jan 2004, 05:51:22
another way is do this make a group in the leader of the group init type
 
Code: [Select]
grp1 = group thisthen make a unit name it player

make a waypoints for grp1 then at the wp1 of grp1 type this in the activation field:
     
Code: [Select]
[player] join grp1this will make player(you) join the grp1 once the grp1 gets to wp1

if u dont understand me post a note and i will try to make it clear
Title: Re:joining units
Post by: dragonshinobi03 on 25 Jan 2004, 05:53:33
o yes and if u want more than 1 poeple to join that group at wp1 u can do this in the activation field of grp1 wp1 type:
Code: [Select]
[player,solder2,soldier3,etc.] join grp1
NOTE:
    YOU CANNOT HAVE MORE THAN 12 soldiers in 1 group
Title: Re:joining units
Post by: macguba on 25 Jan 2004, 14:00:19
Remember, never use waypoints for the player.   If you want somebody to join the player's group you must use the join command.
Title: Re:joining units
Post by: -=Tumble_Dry=- on 26 Jan 2004, 00:23:18
wo wo wo wo. whys that? I all use waypoints. whats the problem eh? eh?  :(
Title: Re:joining units
Post by: m21man on 26 Jan 2004, 00:41:00
The problem is that people who aren't playing in Sissy (Whoops, I meant "Cadet") mode can't find the waypoints, because they aren't shown. Never use waypoints to direct the player, just give objectives to the player and then use scripts and triggers.
Title: Re:joining units
Post by: deaddog on 26 Jan 2004, 00:43:46
You probably play in cadet mode, right??  Try it in veteran mode.  Or, better yet, let someone else play your mission in veteran mode.  Where do they go?  How do you know where the waypoints are?  What happens if you have a "get in" waypoint for the players group and you don't go to all the waypoints in order?

That's why you don't use waypoints for the player.
Title: Re:joining units
Post by: macguba on 26 Jan 2004, 01:20:39
Also, one of the joys of this game is its openness.   A player may want to complete the objectives in a different order than that ordained by the mission designer.    If you use player waypoints he can't - the mission won't work.

You should of course put in waypoints for Cadets, but they should just give helpful tips on which direction to go in - they shouldn't do anything.
Title: Re:joining units
Post by: Driden on 26 Jan 2004, 12:46:25
thanx again guys.. great help   :D