Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: 3d Actor walks in scene  (Read 2615 times)

0 Members and 1 Guest are viewing this topic.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
3d Actor walks in scene
« on: August 11, 2006, 05:03:31 PM »

Hi there.
Is it possible to script, that a charakter walks to a specific position after changing the scene?

E.g. Trinity walks to a scene changing area, the scene changes and she walks from an defined start point to an defined end point?

Thanks for help.

adonf

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 124
    • View Profile
Re: 3d Actor walks in scene
« Reply #1 on: August 11, 2006, 05:10:33 PM »

yes, here's an excerpt of one of our scene_init.script files:

Code: [Select]
// initial positon for the actor, nicely hard-coded ;)
actor.SkipTo(134, 552);
actor.Direction = DI_UPRIGHT;
// show scene
Game.HideLoadingIcon();
Game.FadeIn();
// start the scene with the actor moving
actor.GoTo(178, 548);
Game.Interactive = true;

Logged
I am the Milkman. My milk is good.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: 3d Actor walks in scene
« Reply #2 on: August 11, 2006, 05:21:40 PM »

Wow, that was quick, thanks for help
 

Page created in 0.042 seconds with 19 queries.