Author Topic: set-object-position for ships not yet warped in?  (Read 1551 times)

0 Members and 1 Guest are viewing this topic.

set-object-position for ships not yet warped in?
Hello there,

While trying to set up warp-in-point that is relative to another ship, I've just noticed that FRED seems to be unwilling to modify the coordinates of a ship that has not yet warped in via the set-object-position SEXP. It simply warps in at the position I put it to in FRED.

Could someone inspire me with a solution to that problem which doesn't involve the cumbersome use of any warp-effect SEXPs?

Thanks. :)
"I just can't find a way to do life pods in Freespace!"
"How about the GTEP Hermes?"
"Oh my, where are my eyes..."

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: set-object-position for ships not yet warped in?
If the ship's facing is unimportant...try setting it to warp in 10 meters from an invisible stealthed nav buoy. Set-object-position the nav buoy to where you need it?

Otherwise I don't see any way.

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Re: set-object-position for ships not yet warped in?
How many variations are there? If it's only 2 or 3, then I'd consider using the appropriate number of ships. It requires you to be very careful with SEXPing all possible outcomes, but it'll work.

Or:

Have you tried this kind of tree:

-has-arrived-delay
--0
--<target ship>
-set-object-position
--<whatever>

It may move the warp effect with the ship. It's worth a try, anyways.
« Last Edit: November 19, 2010, 03:25:11 pm by TopAce »
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: set-object-position for ships not yet warped in?
It won't move the warp effect.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  
Re: set-object-position for ships not yet warped in?
Hey, thanks for the input.

If you use an invisible, stealthy buoy and set the warp in location options to "in front of ship", it's "merely" a matter of having the buoy point in the correct direction, if one wants to control the direction the desired ship is to warp in. It's not an ideal solution, but it seems to work. The only other alternative, as it appears to me: generous use of the calculator and the FRED measure-tool. :)
"I just can't find a way to do life pods in Freespace!"
"How about the GTEP Hermes?"
"Oh my, where are my eyes..."