OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ICMTRIGGER on 04 Oct 2003, 23:30:52
-
how would i make an West Jeep be on the East team?
-
make two East guys get inside of it :o
no .. seriously.... make it empty... have the doods get inside... and you better believe the West will fire on it ;)
you can make use of the:
moveindriver
moveingunner
moveincargo
commands to make some East guys start in an empty west jeep
-
hiya,
what's the syntax for the commands you just gave. I'vbe been through the various scripting 'manuals' for download but kep mucking it up...
moveindriver
moveingunner
moveincargo
are the commands placed in the unit getting into the vehicle or in the init of the vehicle?
Cheers :D
-
place it in the init of the guy you want moved
this moveindriver vehiclename
-
OK related question...
Is it possible to have that same crew in the hypothetical vehicle above seen as the opposite side (ie not attacked by opposition until they are out of the vehicle or another trigger is set off / they have been caught out...)
-
well you can make them captives when inside the vehicle and then they wouldn't be shot at using two triggers:
( I should say that since this is in the MP board.. I can't guarantee results with the following syntax, I'm fairly certain it should work in a SP mission though)
repeatable trigger
size:0x0
Condition: ((unitname in vehiclename) and (unit2name in vehiclename))
Activation: unitname setcaptive true ; unit2name setcaptive true
-------------------------------------------------------------------------------------------------
repeatable trigger
size:0x0
Condition: ((unitname not in vehiclename) and (unit2name not in vehiclename))
Activation: unitname setcaptive false ; unit2name setcaptive false
-
make two East guys get inside of it :o
no .. seriously.... make it empty... have the doods get inside... and you better believe the West will fire on it ;)
Hey Kali , why is it that the game still sees a friendly in an empty opposing-side vehicle as "enemy" as far as radar goes?
i.e. You're West ,flying an Apache and your AI gets into an empty BMP ....it shows up red on radar ...so that's based on the vehicle and not who is in it.
Any fix for this or any planned for the next version of OFP?
Always bugged me in CTF missions with similar vehicles.
-
If you want to sneak into an enemy base, use a vehicle controlled by the enemy, moveincargo you dudes, make the driver captive, and make a mapsingleclique, so you can control the driver...
That way you can have him drive where you want, and you can jump out when you get there(You might wanna get in the back of a 5t...Remember to fill all three front seats...
Even humanplayers wont notice, unless they look inside(A realistic feature)...