PDA

View Full Version : What does this do?


SithRevan
08-07-2006, 02:28 AM
I was wondering what this script tag was meant to do in the game?

StartNewModule("","WP_FROM_TERM");

P.S.: The tag I was making reference to is the one in bold!
(e.g.:WP_FROM_TERM)

The Doctor
08-07-2006, 02:33 AM
:lol: Gotta love the thread name...

To me, it looks as if it's something that might have been cut? Looks like it opens a new module after you shut down a terminal or something? Same kind of thing with the recording or your trial?

I'm a n00b, but that looks like it could fit...

This is assuming of course this is from a TSL script?

SithRevan
08-07-2006, 02:37 AM
Yes, it is a TSL script but I wasn't cut because it is from the info terminals on telos it is some kind of warp script but what I wasn't sure about was that reference WP_FROM_TERM?

Kaspian
08-07-2006, 03:41 AM
It looks like WayPoint. I think the script will teleport you to the waypoint's location in the same module. I didn't play TSL so it's hard to say.

SithRevan
08-07-2006, 04:18 AM
Actually I looked through the modules waypoints and the bif waypoints but could not find anything associated with that tag, it's kinda funny it just doesn't seem to be anything.

P.S.: I looked through the globalcat.2da thinking it might be there but I didn't find anything, so if anybody has idea I am open to hear them!:D

Tupac Amaru
08-07-2006, 04:51 AM
The second parameter for this function is always the tag of a waypoint. I assume this is from the script a_tel_move.nss. The waypoints are defined in the .git of the modules. Since they used the standard template sw_waypoint001 you won't find a separate blueprint for them.

Darkkender
08-07-2006, 11:09 AM
Anytime you are looking at a script from a specific module always look through the resources of that module first. Then if you don't finde references to your target item check the BIF files. If there had been a module listed as the first paramater of your above script then you would check that modules resources and not the resources of the module you are in.