Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: tinchopunk on February 03, 2005, 05:24:09 AM

Title: selection of character
Post by: tinchopunk on February 03, 2005, 05:24:09 AM
Ok i have a start up menu where i can select wich character i want to use...
How can i made that??  I used Game.LoadActor3D() and change scene but didnĀ“t work...
some help??
thanks
 Martin
Title: Re: selection of character
Post by: Mnemonic on February 03, 2005, 09:40:02 AM
And how exactly it didn't work? Let's assume you have a window with two buttons, "Start game with character A" (startA) and "Start game with character B" (startB).

Then the script attached to the window would contain the following event handlers:

...

on "startA"
{
  Game.LoadActor3D("path\charA.act3d");
  Game.ChangeScene("path\some.scene");
}


on "startB"
{
  Game.LoadActor3D("path\charB.act3d");
  Game.ChangeScene("path\some.scene");
}