
function want
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
Ok I have tried many things and I can't find a way of stopping a space object from in code. Anyone have any ideas? Before you put up a function please test it. Many things that you would first think that would work don't. 

Crying is not a proper retort!
- Ttech
- Fleet Admiral
- Posts: 2767
- Joined: Tue Nov 06, 2007 12:03 am
- Location: Traveling in the TARDIS
- Contact:
stoping a space item from?Betelgeuse wrote:Ok I have tried many things and I can't find a way of stopping a space object from in code. Anyone have any ideas? Before you put up a function please test it. Many things that you would first think that would work don't.
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
just a dead stop, like you pass in a ship and the function makes it stop moving.
Crying is not a proper retort!
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
doesn't stop the player ship.
Crying is not a proper retort!
if you want the stop to be instant, you could make the object jump to it's current location. not an ideal solution, but it should work, once i made a "Warp Drive", basically a quick activating short range jumpdrive. but it would stop the ship after each jump.
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
mmmh... tested, It works, unfortunately objJumpTo has the stargate effect hardcoded every time you jump.
It would be nice if George will change the function from:
objJumpTo obj posVector
to:
objJumpTo obj posVector [effectID]
in order to have customs jump effects and no effect at all if desidered.
It would be nice if George will change the function from:
objJumpTo obj posVector
to:
objJumpTo obj posVector [effectID]
in order to have customs jump effects and no effect at all if desidered.
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
(objMoveTo gsource (objGetPos gsource))
objMoveTo is the same as objJumpTo but without the gate effects (I knew those function docs would come in handy)
thanks Bobby for the hint at the solution
objMoveTo is the same as objJumpTo but without the gate effects (I knew those function docs would come in handy)
thanks Bobby for the hint at the solution

Crying is not a proper retort!
- Ttech
- Fleet Admiral
- Posts: 2767
- Joined: Tue Nov 06, 2007 12:03 am
- Location: Traveling in the TARDIS
- Contact:
Betelgeuse wrote:(objMoveTo gsource (objGetPos gsource))
objMoveTo is the same as objJumpTo but without the gate effects (I knew those function docs would come in handy)
thanks Bobby for the hint at the solution
thanks does. that well help on another topic.
