OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jt15_506 on 21 Aug 2004, 00:47:33

Title: 1 script, one group
Post by: jt15_506 on 21 Aug 2004, 00:47:33
Hi
Is there a way for you to simply have 1 script that puts an entire group into a vehicle? I think I saw it on here and I couldn't find it on the search.
Thanks
Title: Re:1 script, one group
Post by: CopyrightPhilly on 21 Aug 2004, 00:49:58
put this in the leaders init

Code: [Select]
mygrp = group this; "_x moveincargo vehiclename" foreach units mygrp
replace vehiclename with the vehicles name

cheers, Philly
Title: Re:1 script, one group
Post by: jt15_506 on 21 Aug 2004, 01:03:29
works great, thanks!  :)