Please login or register.

Login with username, password and session length
Advanced search  


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

Author Topic: Blocked Areas  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

The Flayer

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • View Profile
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;


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

..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);

Page created in 0.026 seconds with 21 queries.