Jump to content

Home

Question: How to warp to any...


The Source

Recommended Posts

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));
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...