Blame | Letzte Änderung | Log anzeigen | RSS feed
//Colony-7-level-script-by-chrissstrahl/////////////////////////////////////////void main();void sound_DoorLocked();void sound_DoorRing();////////////////////////////////////////////////////////////////////////////////// Include Cinamtic for this level////////////////////////////////////////////////////////////////////////////////#include "maps/c7_cinematic/c7-1_1_cin.scr"void main()////////////////////////////////////////////////////////////////////////////////// MAIN thread, gets executed on level start////////////////////////////////////////////////////////////////////////////////{//--- Wait for the player to spawnwaitforplayer();//--- give the player a weapon$player.give("wapons/worldmodel-phaser.tik");$player.give("wapons/worldmodel-tricorder.tik");//-- Start Intro Cinematicthread cinamtic_intro();}void sound_DoorLocked()////////////////////////////////////////////////////////////////////////////////// Door locked sound////////////////////////////////////////////////////////////////////////////////{//--- Grab trigger which did call this threadentity eTrigger;eTrigger = getCurrentEntity();//--- See if the triger in the variable does even existif(doesEntityExist(eTrigger)){eTrigger.playsound("sound/doors/door_locked.wav",0,1,128);//snd,chan,vol,dist}}void sound_DoorRing()////////////////////////////////////////////////////////////////////////////////// Door ring sound////////////////////////////////////////////////////////////////////////////////{//--- Grab trigger which did call this threadentity eTrigger;eTrigger = getCurrentEntity();//--- See if the triger in the variable does even existif(doesEntityExist(eTrigger)){eTrigger.playsound("sound/environment/computer/lcars_door.wav",0,1,128);//snd,chan,vol,dist}}