Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Question: How to warp to any...

Page: 1 of 1
 The Source
07-12-2007, 2:17 PM
#1
Question: How to warp to any location within the module that you are in?
Is it possible? How?
 stoffe
07-12-2007, 2:26 PM
#2
Question: How to warp to any location within the module that you are in?
Is it possible? How?

You can the JumpToLocation() function for this, for example:


void main() {
object oWarper = GetObjectByTag("TagToTeleport");

location lLoc = Location(Vector(1.0, 2.3, 0.0), 0.0);
AssignCommand(oWarper, ClearAllActions());
AssignCommand(oWarper, JumpToLocation(lLoc));
}
 The Source
07-12-2007, 6:51 PM
#3
Thanks Stoffe. :)

Where do I put this script?
 Master Zionosis
07-12-2007, 8:24 PM
#4
Thanks Stoffe. :)

Where do I put this script?

You can attach the name of the script to a dialogue node.
 EnderWiggin
07-13-2007, 10:30 AM
#5
Thanks Stoffe. :)

Where do I put this script?

I think you should be able to set it up as an armband.

_EW_
 The Source
07-13-2007, 2:41 PM
#6
Cool, thanks to both of you. :)
Page: 1 of 1