OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Skumball on 09 Nov 2002, 00:15:54
-
I'm trying to do (almost) everything with scripts so is this possible?
-
Sure, it's quite possible. Let's call your unit man1. Let's say he's trying to get into a HMMWV named hummer1. Your code would be as follows:
man1 assignAsCargo hummer1
[man1] orderGetIn true
-
great! thanks!
-
you can also make him get in instantly with
man1 moveinCargo hummer1
-
and how can I let him go out?