Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - gajdy

Pages: [1]
1
Technical forum / Re: Entity act on another scene
« on: March 18, 2006, 01:31:31 PM »
Quote
To Gajdy: please try your code snippets first, otherwise you can really confuse newcomers with
incorrect code.

Im sorry, this was just an idea. Im sorry again :).

2
Technical forum / Re: Entity act on another scene
« on: March 18, 2006, 11:29:18 AM »
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
Code: [Select]
#include "scripts\base.inc"

global buco2;

// enter some code here
buco = true;

and the buco script
Code: [Select]
#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.

3
Technical forum / Re: Problem with sound package
« on: March 15, 2006, 04:24:52 PM »
Hello.
In my game I have "sound" folder as a separate package. The folder contains subfolders "music" and "sfx". When I run the game from the project manager everything's OK. But when I compile the game and then run it there is no sound, although the sound.dcp exists.

How can I solve this problem?
Thanx!

EDITED: Just noticed that the compiled game also uses Arial font instead of one that I assigned. :o

Hello,

probably you set the full path name of the sound file. In the Project Manager it is goes fine, but if you compiled game, this wonť be run. See the following script:

Code: [Select]
// we want to play the sound file from package called "sound"
Game.PlayMusic("music\some_sound_file.ogg");

You donť need to set the full path name of package, but only the folder wich package contains and the file name. See the documentation for more information :).

4
Byl to velký omyl... člověk, kterýho jsem přijal do Myš Maš studia jako administrátora a zárove

Pages: [1]

Page created in 0.03 seconds with 19 queries.