OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
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
-
sweet thanx mate :D :D
-
another way is do this make a group in the leader of the group init type
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:
[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
-
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:
[player,solder2,soldier3,etc.] join grp1
NOTE:
YOU CANNOT HAVE MORE THAN 12 soldiers in 1 group
-
Remember, never use waypoints for the player. If you want somebody to join the player's group you must use the join command.
-
wo wo wo wo. whys that? I all use waypoints. whats the problem eh? eh? :(
-
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.
-
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.
-
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.
-
thanx again guys.. great help :D