OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: renegade798 on 22 Jan 2004, 10:13:41
-
How do you make it so that say a tank crew is sitting by a fire, then they're attacked, and they run to their tank automatically.
-
The tank crew will have lets say three waypoints
HOLD <--------------- synchro a switch trigger with this one
GETIN
SEEK AND DESTROY
There tutorials and hundreds of forum posts to help you learn about switch triggers.
-
i've been havin a problem with this one as well, and where can i find the tutorial since OFPEC isn't running
-
Most of the editors depot is up. Use this link : http://www.ofpec.com/editors
-
Another question, I want this single unit to walk up to and get in a car, so I select him choose the waypoint GET IN put it over the car and then when I preview it her just walks up to the car and stands next to it. And also he didnt even start to walk to the car until I added another man to his squad. Can you tell me why these 2 things happen.
Also how do you start a mission with a person sitting.
-Thanx
-
thats weird...
for me that happens when i do it on Intro, the unit just stands in front of the car.
To start someone sitting down, put in their init field
unitname switchmove "effectstandsitdown"
-
Check to make sure the car is unlocked.
-
Okay i'll try that
-
did you tried to create the GETIN waypoint directly onto the car? this way it should be attached to the car.....not creatin besides the car and then movin it onto
:edit:
ok tried it now for being sure...
created unit and car, put a getin waypoint near car and dragged it onto the car = unit is not boerding car
created unit and car, selected unit and created getin waypoint directly ontop of car = unit gets in car
-
I set the car to unlocked and still the guy walked up to it and just stood next it, so I dunno wat the problem is, so anyone has any idea please help!!!
-thanx
-
I suspect that the problem is that you haven't read myke13021's last post properly. ::)
-
@macguba
i wrote my last post at the same time as renegade...lol
-
I'll try that thanks
Also how do you light a fire before the mission starts, and how do you tell a guy to light a fire.
-thanx
-
light a fire before mission starts (means the fire is burning when start)
in it's init field: this inflame true
how to tell a unit to light a fire.....hmmm...check the group commands...should be in there
-
thanx again myke, for the fire and the waypoint thing, but do you know how to make the guy get in as the driver, he keeps getting in as the passenger.
Also how do you make it so that a guy will walk to the same waypoints over and over, like he walks to the first waypoint, then the second, then the third, then back to the first, second, third, and do that over.
-thanx
-
Use a cycle waypoint. Place it last, but put it near the first one
move
move
move
move
cycle (placed near the first)
-
thanx for the waypoint thing, also the guy wont sit down when I type (his name's bob):
bob switchmove "effectstandsitdown"
There's no error message or anything, just when I preview it he's standing up.
-thanx
-
thanx again myke, for the fire and the waypoint thing, but do you know how to make the guy get in as the driver, he keeps getting in as the passenger.
hmmm....at my side he was gettin in as driver...but you can try this...name the car...uhm...say "car"
then in the init field of the unit you want to getin as driver, write:
this assignasdriver "car"
for the second part, go with macguba
-
switchmoves don't work in init fields, I think .. give him a hold waypoint where he starts, put the command in there and synchro the wp with a switch trigger so he'll get up when the enemy arrive or whatever.