 |
Strider
Face
Registered: Aug 2001
Location:
Posts: 145 |
Mission help
I got a quick FRED2 question, please take a minute to help!
I want a ship to follow a waypoint path, which has only 2 points, in a straight line. I want it to stall at the first waypoint until all the ships are destroyed, then continue onto the other waypoint, then depart.
__________________
"It has been my observation that if you cannot say what you mean, you can truly never mean what you say"
Babylon 5
Report this post to a moderator | IP: Logged
|
10-02-2001 01:12 AM |
|
|
|  |
 |
Slasher
Babylon Project

Registered: Jul 2000
Location: Vancouver, WA, United States
Posts: 1290 |
You could try breaking up the waypoint path into two seperate waypoint paths. Have the first one be the one where you want the certain ship to stall, then give it orders to proceed to the next one.
Or, if you don't want to go that route, you could set up a SEXP like this:
<Event Name>
when
<
distance
<ship name goes here>
<waypoint number 1>
0
cap-waypoint-speed
<ship name goes here>
-1
I'm not entirely sure the above method will work as I've never tried it myself before. But, it says in the SEXP help that an argument of -1 for the cap-waypoint-speed SEXP will "reset" it. By "reset", I think it means it'll tell the ship in question to stop. If this is true, then when you want to have the ship finish it's waypoint path simply use the cap-waypoint-sexp on it again and give it the desired speed. Again, I dunno if this will work, but I'm pretty sure the first method mentioned will.
__________________
Farewell to the VBB
Report this post to a moderator | IP: Logged
|
10-02-2001 03:51 AM |
|
|
|  |
 |
Strider
Face
Registered: Aug 2001
Location:
Posts: 145 |
Okay, what I thought would work was this:
5 seconds after 15 ships have been destroyed, the mothership I want to depart SHOULD depart out of the knossos. So:
When
Is destroyed delay
5
ship a
ship b
ship c
do nothing
special-warpout-name
mothership
knossus 1
WONT WORK! HELP!
__________________
"It has been my observation that if you cannot say what you mean, you can truly never mean what you say"
Babylon 5
Report this post to a moderator | IP: Logged
|
10-03-2001 12:29 AM |
|
|
|  |
 |
Edwin
Hannibal
Registered: Sep 2001
Location: Z'ha'dum
Posts: 1402 |
quote: Originally posted by Strider
Okay, what I thought would work was this:
5 seconds after 15 ships have been destroyed, the mothership I want to depart SHOULD depart out of the knossos. So:
When
Is destroyed delay
5
ship a
ship b
ship c
do nothing
special-warpout-name
mothership
knossus 1
WONT WORK! HELP!
try putting a waypoint right in front of the knososs and use this SEXP:
When
Is destroyed delay
5
ship a
ship b
ship c
Add goal
waypoints once
(waypoint path number to the knososs goes here)
add goal
warp out
(shipname)
If that doesn't work i can't help you
__________________
"If you go to Z'ha'dum you will die"
-Kosh
(natives of Z'ha'dum may ignore this)
For all the rest of you.... don't come here.
Report this post to a moderator | IP: Logged
|
10-03-2001 03:35 AM |
|
|
|  |
 |
Strider
Face
Registered: Aug 2001
Location:
Posts: 145 |
That sounds like it will work, thanks for the tip! I didnt know how to get delayed movements from waypoint to waypoint.
Kudos
__________________
"It has been my observation that if you cannot say what you mean, you can truly never mean what you say"
Babylon 5
Report this post to a moderator | IP: Logged
|
10-03-2001 05:48 AM |
|
|
|  |
 |
IceFire
VWBB Admin

Registered: Jul 2000
Location: The Cold Northland!
Posts: 8392 |
I'm not really sure you can "delay" movements between waypoints...not on a waypoint by waypoint basis.
Use two waypoints, cap-waypoint-speed and set it to 0, or set-subsystem-strenght for the engines at 0 and disable the ship for the time being.
__________________
- IceFire
Volition Watch Project Manager
[url=http://www.volitionwatch.com]Volition Watch[/url], [url=http://freespace.volitionwatch.com/blackwater]BlackWater Operations[/url], [url=http://freespace.volitionwatch.com/babylon]The Babylon Project[/url], [url=http://terra.sourceforge.net]Machina Terra[/url], [url=http://www.3dap.com/hlp/hosted/ott/]Over The Top[/url]
Report this post to a moderator | IP: Logged
|
10-03-2001 01:02 PM |
|
|
|  |
 |
| All times are EST. The time now is 11:37 PM. |
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|