03-08-2016, 07:36 PM
#include "interfaces/Map_Interface.hps"
#include "base/Inputhandler_Types.hps"
#include "helpers/helper_map.hps"
#include "helpers/helper_props.hps"
#include "helpers/helper_effects.hps"
#include "helpers/helper_audio.hps"
#include "helpers/helper_imgui.hps"
#include "helpers/helper_sequences.hps"
#include "helpers/helper_game.hps"
#include "helpers/helper_modules.hps"
#include "helpers/helper_ai.hps"
class cScrMap : iScrMap{
void Setup()
{
}
void OnStart()
{
bool cSound_PlayMusic("penumbra_music_E1_A6", 0.6, 2, 1, 1, true, true)
}
void OnEnter()
{
}
void OnLeave()
{
}
}
When I try to launch the map, the game crashes. It says there's something wrong with the 'bool csound...' line. Also, how do I get to test the map in the developer mode? (Where I can just f5 to reload the map) Even a link to somewhere that I can use to get it working? Sry kinda new to this.
Also, the error says something like : expected 'or'
#include "base/Inputhandler_Types.hps"
#include "helpers/helper_map.hps"
#include "helpers/helper_props.hps"
#include "helpers/helper_effects.hps"
#include "helpers/helper_audio.hps"
#include "helpers/helper_imgui.hps"
#include "helpers/helper_sequences.hps"
#include "helpers/helper_game.hps"
#include "helpers/helper_modules.hps"
#include "helpers/helper_ai.hps"
class cScrMap : iScrMap{
void Setup()
{
}
void OnStart()
{
bool cSound_PlayMusic("penumbra_music_E1_A6", 0.6, 2, 1, 1, true, true)
}
void OnEnter()
{
}
void OnLeave()
{
}
}
When I try to launch the map, the game crashes. It says there's something wrong with the 'bool csound...' line. Also, how do I get to test the map in the developer mode? (Where I can just f5 to reload the map) Even a link to somewhere that I can use to get it working? Sry kinda new to this.
Also, the error says something like : expected 'or'