Jump to content

Home

Module doors- ataching new modules?


tylerjk

Recommended Posts

I have all ready tried that and I couldn't get it to work, but I didn't put to much effort into it becuase I have to edit a .git file of a module fromt he game and to download the mod it would be very difficult becuase I would have to include an entire module just to edit the .git. So I was really kinda wanted to know how to make a script to warp you to a different module. For example I put a computer next to a door and in that computer I say I want to open the door and after that I atach the script to the dialogue and I am sent to my new module.

Link to comment
Share on other sites

Originally posted by tylerjk

So I was really kinda wanted to know how to make a script to warp you to a different module.

 

A simple script like this would load another module when it is run:

 

void main() {
   StartNewModule("NAME_OF_MODULE", "NAME_OF_WAYPOINT");
}

 

Replace NAME_OF_MODULE with the name of the module, for example 262TEL to go to the Telos Academy. This is the same name you'd use with the warp cheat code.

 

Replace NAME_OF_WAYPOINT with the TAG of a waypoint in the new area that the player will be spawned at. Or you could leave this parameter blank to go to the standard module starting location.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...