Home   Help Search Login Register  

Author Topic: The boat wont go  (Read 1112 times)

0 Members and 2 Guests are viewing this topic.

Kanel

  • Guest
The boat wont go
« on: 12 Jul 2004, 23:02:41 »
Im makin a mission where you start in a boat and it goes to a island where there are enemy troops but the problem is that i have to get out and get in in the beginning.
thats not so realistic. any script or something to prevent this?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:The boat wont go
« Reply #1 on: 12 Jul 2004, 23:06:17 »
Are you starting in the boat with a moveInCargo command?  

I'm not clear what the problem is.   Why do you have to get out and in again?   Are you driving the boat?
Plenty of reviewed ArmA missions for you to play

Kanel

  • Guest
Re:The boat wont go
« Reply #2 on: 13 Jul 2004, 00:11:46 »
im not driving the boat. yes im using moveincargo command on the soldiers. if i dont get out and get in again then the boat just stand still.

Dubieman

  • Guest
Re:The boat wont go
« Reply #3 on: 13 Jul 2004, 01:06:00 »
Try what your doing what you are now. Have the boat named "floatie" and in each init line of the soldier you want in the cargo put "this moveincargo floatie" or use the grouping trick...

Then set the boat's waypoints to the island and near the shore make a transport unload waypoint and then do what you want with the boat. Now go back to the cargo and make a waypoint for the leader to seek and destroy the enemy or whatever as if there was no water inbetween him and the enemy. The boat will bear him and his squaddies then shove them off at the shore and the squad will proceed to their first waypoint and the boat moves on to whereever you told him to go.

Hope it works. :P :)

Kanel

  • Guest
Re:The boat wont go
« Reply #4 on: 13 Jul 2004, 10:37:24 »
Try what your doing what you are now. Have the boat named "floatie" and in each init line of the soldier you want in the cargo put "this moveincargo floatie" or use the grouping trick...

Then set the boat's waypoints to the island and near the shore make a transport unload waypoint and then do what you want with the boat. Now go back to the cargo and make a waypoint for the leader to seek and destroy the enemy or whatever as if there was no water inbetween him and the enemy. The boat will bear him and his squaddies then shove them off at the shore and the squad will proceed to their first waypoint and the boat moves on to whereever you told him to go.

Hope it works. :P :)

Thats almost what i did , but the boat is empty so you cant make waypoints to a empty boat , i made the waypoints for the group leader where they should disembark from the boat. but the darn boat wont leave without me jumping out and in once. (sorry if my english is bad , im just 13 yr and from sweden)

added a picture

www34.brinkster.com/kbsbunker/boatwontgo.jpg
« Last Edit: 13 Jul 2004, 10:58:01 by Kanel »

Kanel

  • Guest
Re:The boat wont go
« Reply #5 on: 13 Jul 2004, 11:24:33 »
Ive tried to put in this in a trigger thats activated by anybody and is where you and the boat starts.
the boats name is hboat .

hboat action ["Engine off"] ;{1- hboat action ["Engine on"]}

but i get error " type string , nothing expected" (something like that)

anyone know what the heck is wrong?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:The boat wont go
« Reply #6 on: 13 Jul 2004, 12:18:11 »
There are various problems here but the conceptual one is that you haven't thought about who is going to drive the boat.    

Is the group led by the player?  Is the player going to be the driver?

Anyway, try this:-

Delete the moveincargocommands.

Delete the triggers and engineOn commands.

In the init field of the unit you want to drive the boat write,
this moveInDriver floatie; this assignAsDriver floatie

Group the boat to the group leader.

Change the special field of each unit including the driver) in the group to "In cargo"




Edit:  your English is just fine.  :thumbsup:
« Last Edit: 13 Jul 2004, 12:19:28 by macguba »
Plenty of reviewed ArmA missions for you to play

Kanel

  • Guest
Re:The boat wont go
« Reply #7 on: 13 Jul 2004, 12:36:17 »
now just the driver was in the boat and the boat stood still. and rest of group was on land.

the player is just gonna sit in the boat not driver or anything like that. and no the group is not led by the player.


thanks anyway

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:The boat wont go
« Reply #8 on: 13 Jul 2004, 13:33:08 »
OK so it doesn't work, but WHY doesn't it work?   What did you do?   At what point did it go wrong?    Did you follow my suggestions exactly?
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:The boat wont go
« Reply #9 on: 13 Jul 2004, 15:46:28 »
Alrighty now, try my idea once more, but make the boat occupied or crewed from the start. Like don't goto empty vehicles go to west armored PBRII(or whatever it is) and then use my idea and the boat should move. ;)

The reason it didn't is because there was no driver in the boat. :P

Kanel

  • Guest
Re:The boat wont go
« Reply #10 on: 13 Jul 2004, 16:21:25 »
OK so it doesn't work, but WHY doesn't it work?   What did you do?   At what point did it go wrong?    Did you follow my suggestions exactly?
i did all except the one make the boat a member of the group

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:The boat wont go
« Reply #11 on: 13 Jul 2004, 16:52:39 »
Lol well why do you think it didn't work then?     Make the boat a member of the group and try again.
Plenty of reviewed ArmA missions for you to play

Kanel

  • Guest
Re:The boat wont go
« Reply #12 on: 13 Jul 2004, 22:43:06 »
well , how do i make  a empty boat a member of the group?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:The boat wont go
« Reply #13 on: 14 Jul 2004, 00:39:46 »
Click on groups (F2) and drag and drop a thin blue line from the boat to the group leader.

Actually it occurs to me that in the latest version of OFP that may not be possible.   Let us know how it goes.
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:The boat wont go
« Reply #14 on: 14 Jul 2004, 03:23:21 »
I'm pretty sure you can't make an empty boat be grouped with someone, much less get an empty boat to move unless there is a driver.

Now you're confusing me... ??? :P

Kanel

  • Guest
Re:The boat wont go
« Reply #15 on: 14 Jul 2004, 09:19:57 »
Alrighty now, try my idea once more, but make the boat occupied or crewed from the start. Like don't goto empty vehicles go to west armored PBRII(or whatever it is) and then use my idea and the boat should move. ;)

The reason it didn't is because there was no driver in the boat. :P

Now its fixed , thank you guiltyroachkilla!
thanks to the rest who tried to help to.