Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


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 - The Flayer

Pages: [1]
1
Technical forum / Blocked Areas
« on: November 07, 2017, 12:00:48 AM »
Ok, I have a question.
When the player clicks on a certain object a blocked region entity that is over the floor have to became a walkable area or disappear.
The name of the entity is "ExitRoom".
I searched the forum and I found something like this:

Code: WME Script
  1. ExitRoom.Active=false;
  2.  

or

Code: WME Script
  1. ExitRoom.Enabled=false;
  2.  

..but they don't work.

What is it wrong?

This is an example of what I need:

Code: WME Script
  1. actor.SkipTo(1380, 607);
  2. actor.Direction = DI_LEFT; 
  3. ExitRoom.Active = false;
  4. actor.GoTo(1200,607);
  5.  
               
      

2
Technical forum / Re: Pause during actions
« on: October 22, 2017, 10:27:18 AM »
Thank you a lot!
It works now.
I have to practise more with the script! :)

3
Technical forum / Pause during actions
« on: October 21, 2017, 11:54:57 PM »
Hello, I am learning to use WE and I have a question.
It is possible to pause the actions of a script for a definite amount of time?
I tryed to use the "sleep" function but it did not work, the script is not execute at all.

This is an example of what I need:


on "LookAt"
{
  actor.GoToObject(this);
  actor.Direction = DI_DOWN;
  actor.Talk("It's wonderfull.");
  sleep(10);  ?????
  actor.Talk("I'll take it.");
  }


Thanks for help

Pages: [1]

Page created in 0.023 seconds with 25 queries.