OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 22 Jun 2004, 16:54:14
-
Hello there,
Two things, how do u get a couple of ur men and urself to join another group so that u can attack sumwhere.
And i downloaded a mortar recently and was just wondering if anyone knew how i cud make the mortar pound an area. Ive tried to make it fire at an object etc using the doFire command but with no joy :( .
Cheers
Gooner
Come On England!!!!!!!!!!!!!!
-
[loon1, loon2] join grpAlpha
If you're talking about a specific addon, tell us which one. Some mortars are just objects, they don't do anything. In that case you'd need to camCreate explosions at the target, or combine them with an existing arty script.
-
Ok cheers but how do u name a group, group alpha?
Forget about the mortars, doesnt matter anymore. :) .
Cheers
Gooner
-
grpalpha = group this
in leaders init field. If that doesn't work try:
grpalpha = grp this
:beat: *Gets Shot* :beat:
-
Ok so i have manged to join a group ;D .
Bu there is one weird thing that always happens. Each time i join the group the officer of that group seems to be stripped of his ranks and a new random leader is chosen who is normally a private. Now no one wants to be led into battle by a private do they so whats going on?
Cheers
Gooner
-
Only thing I can think of is make the leader have the highest rank and have him placed before the other soldiers are put on the map.
-
Try
[loon1] join leader grp2