Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - brankomaster

Pages: [1]
1
Technical forum / music restarts
« on: July 06, 2014, 12:00:16 AM »
i've used next method to examine objects in inventory (e.g. read a book):
(in items/book script)
/on "LookAt"/
{
  Game.ChangeScene("scenes\bookopen\bookopen.scene");

   Game.DropItem("book");

}

/and added next script for the bookopen scene init script/

on "LeftClick"
{


    Game.ChangeScene(Game.PrevSceneFilename);
   //
    Game.TakeItem("book");
  var EntBook = Scene.GetNode("book");
  EntBook.Active = false;
   //
}

 and its working perfect, problem is because game change to prev scene but music is also reloaded, is it possible to add script to avoid music playback interruption , i use this script to attach music for scene ( scene init script)

Game.PlayMusicChannel(0,"sounds\Salex1d.ogg",true);
  Game.SetMusicChannelVolume(0,70);


2
Technical forum / no main meny
« on: July 04, 2014, 11:44:56 AM »
i cant get main menu (fullscreen or window mode) on pressing Escape, i didnt mess with (interface\system\mainmenu.script) or any other script from that bunch, whats the problem, its working with F1 but i want to use Escape to get main menu (quit, load , save...)

3
Technical forum / movie clip intro
« on: July 02, 2014, 11:28:32 AM »
i want to make movie intro for my game, i need some help with scripts, how to write script and where to put it that will tell to go to another (static) scene when intro movie is finished

4
Technical forum / key and door plus removing actor entity
« on: June 24, 2014, 11:28:44 PM »
I managed to create and put the key in the inventory (thanks to help file) ,now how can i make that key to work withe certain door in the scene and trigger action to jump to another scene.

Pages: [1]

Page created in 0.038 seconds with 22 queries.