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 - Azrael

Pages: 1 ... 5 6 [7] 8 9 ... 11
91
Not a bug / Re: Scene.SkipTo() not working on vertical scrolling scene
« on: January 19, 2010, 01:12:56 PM »
No, it didn't work.

Changing the main object to null works for Scene.ScrollTo but not for SkipTo.
Scene.SkipTo still works perfectly in horizontal scrolling scene, but not with this vertical scrolling.

But i found the problem. The coordinates where wrong.
In a horizontal scrolling scene i set the same coordinates of the main actor and it works. In vertical scrolling i have to found the coordinates manually  :(

For example if the actor is skipped to 490, 516 i have to write 490, 410 for the Scene.SkipTo method.

92
Technical forum / Re: entitys with no image
« on: December 23, 2009, 04:17:30 PM »
Yes, with an "region entity" ;)

93
Technical forum / Re: Scene.ScrollTo() not working
« on: October 27, 2009, 01:30:16 PM »
Tnx Mnemonic, setting the Game.MainObject to null it works :)

94
Technical forum / Scene.ScrollTo() not working
« on: October 27, 2009, 11:23:53 AM »
I have a scene with a resolution of 1500x768. The actor is at the right of the scene and i want the scene to scroll to a point on the left.
The problem is that the scene don't scroll. Scene.SkipTo(); work but ScrollTo(); no (i tried with X,Y and with an entity).

As written in the docs Scene.AutoScroll is set to true.
The script is something like that:

Code: [Select]
Game.Interactive = false;
Scene.AutoScroll = true;
Scene.ScrollTo(164, 511);
Game.Interactive = true;

The game become non interactive and wait forever for the scene scrolling :(

95
First you should put the entity reference into a variable, something like that should work:

Code: WME Script
  1. var TWO_Ref = Scene.GetNode("TWO");
  2.  
  3.  
  4. on "LeftClick" {
  5. }

96
Technical forum / Re: How to stop Entity Scaling ?
« on: October 21, 2009, 07:06:16 PM »
Have you tried the entity's attribute "Scalable"?

97
Not a bug / Re: Scene.SkipTo() not working on vertical scrolling scene
« on: October 20, 2009, 08:15:14 PM »
Sorry, it's Skip not Skyp yes :P . But in the scripts it is write in the right way ;)

98
Not a bug / Scene.SkipTo() not working on vertical scrolling scene
« on: October 20, 2009, 09:09:25 AM »
In a game with a resolution of 1024x768 we have a scene in 1024x850.
Entering from another location the actor is placed vertically at the middle of the scene so, when the actor enter in the scene, the scene scroll up a bit.
With another position for the actor at the top of the scene it do the same.

I have tried "Scene.SkypTo(X, Y);" and also "Scene.SkypTo(actor);" but the scene always scroll down to the actor's position.

In horizontal scrolling scene i have no problem, it works perfectly. But in this scene it doesn't seem to want to work  :-\

99
Technical forum / Re: Scripting iteraction with response
« on: October 01, 2009, 12:09:56 PM »
Tnx Mnemonic, i think i will create some custom scripts and windows, thanks anyway ;)

100
Technical forum / Scripting iteraction with response
« on: September 27, 2009, 01:58:46 PM »
It's possible to select a response (added with "AddResponse") with script when the game is waiting for the player to select a response?

For example, i add 4 response with Game.AddResponse():

Code: WME Script
  1. Game.AddResponse(1, "Resp 1.");
  2. Game.AddResponse(2, "Resp 2");
  3. Game.AddResponse(3, "Resp 3.");
  4. Game.AddResponse(4, "Resp 4.");
  5.  
  6. var Selected = Game.GetResponse();

Now the game is waiting for a response to be choosed by the player. What i want now is to automatically choose a response if the player don't choose one in "X" minutes. It's possible?

Thanks ;)

101
General Discussion / Re: Latest stable: WME 1.8.11 (Sep 4 2009)
« on: September 04, 2009, 08:16:07 PM »
Thanks  ;)

102
Technical forum / Re: blk_region problem
« on: August 13, 2009, 07:13:42 AM »
Do you have a .geometry file with the same name of the 3ds in the scene's folder?

103
Technical forum / Re: blk_region problem
« on: August 12, 2009, 11:41:21 AM »
Sorry, with "Find path using 2D elements only" the blk_ also hides the actors :P

Yes if you untick it the actor should not be able to go trough the blk_.
Also you need a .geometry file as written in documentation.

Obviously if you untick "Find path using 2D elements only" you have to put waypoints in the 3DS of the scene.

104
Technical forum / Re: blk_region problem
« on: August 12, 2009, 06:53:19 AM »
If you use "Find path using 2D elements only" the blk_ in geometry only works for stencil shadows, not as blocked region.
You have to set a blocked region by creating it in SceneEdit.

105
Technical forum / Re: Changing Textures
« on: August 11, 2009, 01:45:57 PM »
If your .X model load by default a texture called "violet.PNG" you should put in the scripts:

Code: WME Script
  1. this.SetTexture("violet","actors\Violet\Violet_texture2.png");

The "violet.PNG" without the .PNG ;)

Pages: 1 ... 5 6 [7] 8 9 ... 11

Page created in 0.066 seconds with 21 queries.