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.

Author Topic: selection of character  (Read 2730 times)

0 Members and 1 Guest are viewing this topic.

tinchopunk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 90
    • View Profile
    • martinarregui.tumblr.com
selection of character
« 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
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: selection of character
« Reply #1 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");
}
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.031 seconds with 23 queries.