Jump to content

[scarCODE] S.T.M. (Spawn Teleport Menu) by IT07


IT07

Recommended Posts

S.T.M. (Spawn Teleport Menu)

by IT07

 

INFO

This is a very simple and basic menu that players can use to teleport to predefined locations.

Everything is completely configurable by the person who installs the script onto the server's mission file.

With this, it does not matter how much locations you put in or what you name them.

Have fun :)

 

DOWNLOAD

https://github.com/IT07/A3_ScarCode_ScriptBundle

 

PICTURE

http://imgur.com/lwF9KbM

Link to comment
Share on other sites

Hello IT. I'm attempting to use just this STM script and it seems to be working using the scroll wheel.... the map will pull up but the drop down box doesn't have any of the locations to spawn. In the descriptions I just left these. All other files were left as is.

 

/////// scarCODE hpp files ///////
#include "scarCODE\global.hpp" // Needed if you use any menu from scarCODE
#include "scarCODE\STM\main_STM.hpp" // Remove line if you do not have STM
//////////////////////////////////
class cfgFunctions
{
 /////// scarCODE functions ///////
 class scarCODE
 {
  class STM
  {
   file = "scarCODE\STM\functions_STM";
   class animStmMap {};
   class doStmTp {};
   class getStmSetting {};
   class loadSTM {};
   class initSTM { postInit = 1; };
  };
  
 };
};

 

Any hints you can give to get this working?

 

 

I'm assuming once I get the text to show I can customize the spawn choices by simply adding locations to the config_STM.hpp

Link to comment
Share on other sites

@Caveman1: there is something missing from that code you sent.

tag = "SC";

Create an empty line in between class STM and /////// scarCODE functions /////// and put that there.

Link to comment
Share on other sites

Work with Epoch AH?

 

It should work fine. Have not tested it though I only have infiSTAR to test with. None can expect me to test both separately to see if they work. I am not getting paid for this am I.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...