# Layers and Players' Attacks

**URL:** <https://blenderartists.org/t/layers-and-players-attacks/409394>\
**Category:** Game Engine Support and Discussion\
**Created:** [February 11, 2008, 11:34am UTC](https://blenderartists.org/t/layers-and-players-attacks/409394 "2008-02-11T11:34:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [February 11, 2008, 11:34am UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/1 "2008-02-11T11:34:44Z")

</div>

!Hola! Como estas? 😛 I am new to the Blender Artists Forum, and I just joined today, although I have been using Blender for somewhere around 2 years or so and I’ve been using the engine for, oh, maybe, 1 year and 6 monthes. 😉 I am making an RPG-style game, and I am thinking of using layers for seperate sections of an area (layer 1 for all inside sections of buildings, layer 2 for outside the main village, and so on, for example). Is there anyway to change the active layer in-game? I am not afraid of using Python, as I use it as an alternative to the Gameblocks instead. Also, I found that attaching a weapon to an armature doesn’t seem to work as the collision part of the weapon stays in its original position, not deforming with the armature. Thanks for any replies. (:D)

---

<div class="post-metadata">

**Author:** ![OTO](https://blenderartists.org/letter_avatar_proxy/v4/letter/o/e8c25b/32.png) [@OTO](https://blenderartists.org/u/OTO)\
**Post date:** [February 11, 2008, 12:33pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/2 "2008-02-11T12:33:25Z")

</div>

Hello  
you should use “Scenes” not “Layers” for this kind of situation!  
Then use the “Scene-Set scene” Actuator to change from scene 1 to scene 2 for ex.  
Bye

---

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [February 11, 2008, 1:20pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/3 "2008-02-11T13:20:44Z")

</div>

Thanks OTO, but there are layers in the scene as well, and just how you can have 8 OpenGL lights per LAYER, I want to be able to cycle between them INGAME.

---

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [February 12, 2008, 9:01pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/4 "2008-02-12T21:01:56Z")

</div>

uhhmmm. . . Hello? If anyone’s looking, I am just trying to see if it is possible to switch LAYERS in-game. When I say layers, I mean different levels of visible objects, like how things must be on a HIDDEN LAYER to be added correctly in-game. So. . . Is there anyway to switch the visible layer in-game?

---

<div class="post-metadata">

**Author:** ![OTO](https://blenderartists.org/letter_avatar_proxy/v4/letter/o/e8c25b/32.png) [@OTO](https://blenderartists.org/u/OTO)\
**Post date:** [February 12, 2008, 11:11pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/5 "2008-02-12T23:11:45Z")

</div>

Hello again  
you can hide/show objects with the “Visibility Actuator”…  
And control light intensity with IPO curves.  
Bye

---

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [February 13, 2008, 5:09pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/6 "2008-02-13T17:09:15Z")

</div>

Eheheheh. . . .:evilgrin: I DON’T think you understand, OTO, but thanks. I mean how you can put down OBJECTS on LAYERS in the modeling areas of Blender, CAN YOU CHANGE THE ACTIVE LAYER IN-GAME? JUST LIKE YOU CAN CHANGE THE ACTIVE LAYER BY PUSHING ONE OF THE SIXTEEN (OR WHATEVER) BUTTONS IN BLENDER WHEN YOU WISH TO SWITCH ACTIVE (CURRENT) LAYER, OR HOW YOU CAN PRESS M-KEY TO MOVE OBJECTS FROM ONE LAYER TO ANOTHER, **_IS THERE A WAY TO SWITCH THE ACTIVE, OR CURRENT, VIEWED LAYER IN THE BLENDER GAME ENGINE? :evilgrin:_** :evilgrin: :evilgrin:

---

<div class="post-metadata">

**Author:** ![OTO](https://blenderartists.org/letter_avatar_proxy/v4/letter/o/e8c25b/32.png) [@OTO](https://blenderartists.org/u/OTO)\
**Post date:** [February 13, 2008, 10:23pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/7 "2008-02-13T22:23:38Z")

</div>

Eh eh eh… **_NO_**?! 🙂

---

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [February 14, 2008, 12:19pm UTC](https://blenderartists.org/t/layers-and-players-attacks/409394/8 "2008-02-14T12:19:04Z")

</div>

Hahahah. Thanks very much, OTO. Even though I can’t use layers, it helps to have someone answer your questions.
