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: scene init and layer of entrie  (Read 3074 times)

0 Members and 1 Guest are viewing this topic.

geber

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
scene init and layer of entrie
« on: October 19, 2005, 06:09:53 PM »

Hello.

I have scene with 3 layers - front, back and main
In scene_init i input entire with bird flying across screen.

var bird_1 = Scene.LoadEntity("entries\bird_sc1\bird_sc1.entity");
    bird_1.SkipTo(0,60);

How can i force this entity use one of 3 layers? Back, for example?

Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: scene init and layer of entrie
« Reply #1 on: October 19, 2005, 09:43:37 PM »

Free entities and actors can only "live" in the main layer of the scene. The other layers are decorations only.
There are ways of keeping entities permanently in the background/foreground of the main layer, but it depends on what exactly would you like to achieve.
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.037 seconds with 20 queries.