OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: violenthamster on 31 Jan 2005, 14:09:33
-
i got a problem with the editor:
I made some boats near the coast. Now i told them MOVE to beach, but they dont move... :(
If there`s no group in cargo they move, but if there`s a group in cargo, they dont move..
What`s wrong??
-
here u got zip folder so u can better see whats wrong
-
it might be easier to help if you post the mission in its entirety rather than a .pbo, as that way folks can see what's going on in the editor.
cheers
b
-
I have checked and i do not know what's going on.
I have only noticed, than when u ADD new boat with soldiers, it works good.
-
Ungrouping the soldiers from the boat seems to work, so a work-a-round woud be to name each boat and put "_x moveincargo boatname" foreach units group this in each group leader's init field.
Still, I must say you've got so much going on on that beach that AI might have trouble in simply finding an empty spot where to park the boat.
-
u mean i should clear beach from the other ships?
-
I haven't looked at the mission but probably yes. You sometimes get odd behaviour when the game can't quite figure out how to do what you have told it to do. The interference is not always obvious: for example an object placed too close to a road may make a lorry a mile away down the road drive in a funny zigzag.
Whenever you have something that doesn't work, and you can't figure out why, it's often a good idea to create a copy of your mission and delete eveything except, in this case, the boat. See if it works then. If it does, add things back till you discover the problem.