Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Blocked Areas  (Read 3539 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;
  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.  
               
      
Logged
 

Page created in 0.021 seconds with 24 queries.