Can anyone help me with changing the system the player is in, either (1) instantaneously (if possible) or - and even if the former if possible I'd like to be able to do this latter thing too - (2) creating a wormhole right in front of the player?
To do (2), do I need to create a (invisible?) entity right in front of the player, and then (via AI or script) make it witchdrive somewhere?
Thanks in advance.
Changing which system the player is in
Moderators: winston, another_commander
Re: Changing which system the player is in
1: not possible
2: yes, though it doesn't have to be invisible. If you call
2: yes, though it doesn't have to be invisible. If you call
system.addShips
and then ship.exitSystem
in the same function call, the player will never actually see it in the start system. If you then call ship.remove
then they won't see it in the destination system either.- Amah
- ---- E L I T E ----
- Posts: 486
- Joined: Tue Aug 28, 2012 8:05 pm
- Location: aboard the Laenina Crowne - Yasen-N class space freighter
- Contact:
Re: Changing which system the player is in
iirc (okti's) longe range scanner cheat works just like this.
Amah
- about Amah: wiki
- noshaders versions of Griff's extra, alternate ships and accessories: discussion, wiki
- ocpc - customize the player ship: discussion, oxp repository
-
- ---- E L I T E ----
- Posts: 1248
- Joined: Sat Sep 12, 2009 11:58 pm
- Location: Essex (mainly industrial and occasionally anarchic)
Re: Changing which system the player is in
Thanks all - and to Switeck for his helpful private message.
I'll see what I can do!
I'll see what I can do!