Hi,everybody.I really need a help,so I'll try to explain my problem.
I've got two scene.In one scene there's an entity called "talpa",in the other there's an entity called "buco",set as if it is not active.When I talk to "talpa" I want the object "buco" on the other scene to become active.How can I do this?Sorry for my english!
Hi,
you have got two entities,
talpa, and
buco. Buco is not active, and if you talk to talpa, you want to become active buco. Ok, open the talpa script and make like this:
the talpa script #include "scripts\base.inc"
global buco2;
// enter some code here
buco = true;
and the buco script#include "scripts\base.inc"
global buco2; // you will need create this global variable into this script and into talpa script of entity file
var Entbuco = Scene.GetNode("buco"); // this name must be the same as you entered in SceneEdit script
if(buco2 == true)
{
¦nbsp; ¦nbsp; ¦nbsp;buco.Active = true;
}
I`m sorry for my English, but I`m from Slovakia:). I hope that will help you.