OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: netta1234 on 24 Jul 2004, 03:50:22

Title: Follow
Post by: netta1234 on 24 Jul 2004, 03:50:22
ok im makeing rescue mission

addaction [Rescue Marine Follow.sqs] ect how can i make this marine follow me
Title: Re:Follow
Post by: AnarCHy on 24 Jul 2004, 04:12:03
ok i have a small solution you probably wont want to use but ECP mod lets you join up wit any other unit in game.

Lets say you are walking through base and you decide to go and surprise some enemies, but your squad is on R&R, so you go around next to whoever and click on the action "Greg Byrd Join Player", and walla, he is now in your team.

But, like I said, it is part of a mod and therefore you would have to require people download it to play your mission, so this is not the best solution.
Title: Re:Follow
Post by: CopyrightPhilly on 24 Jul 2004, 05:31:44
well to make him join the players group use

Code: [Select]
[marinename] join player
cheers, Philly
Title: Re:Follow
Post by: Dubieman on 24 Jul 2004, 18:36:56
There is the dofollow command but I have never used it.
I saw it in a mission once though. I was in a coop and we had to clear the town and rescue some guy. He didn't join our team but acted like a retarded duck and ran into stuff. So it might be better to have him join the player.


Or something else I dug up...

make a trigger and name the capitve marine and yourself player.


Condition: player  distance marine  > 12
On Activation: marine domove player

and change the number to what you want. I've never tried this so it isn't guaranteed to work. :P