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: ActorEntry event problem......  (Read 2757 times)

0 Members and 1 Guest are viewing this topic.

tambourinos

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
ActorEntry event problem......
« on: October 20, 2011, 05:52:31 PM »

I am new to wintermute and i have downloaded the latest version. As i was playing around this days i notice that when i create a region and import a  script wtih the "ActorEntry" event it seems that the event never trigerred when the actor walks through the region entinty. I was doing my experiments with the simple demo tha is provided with the engine with the actor "molly".  ???


Tell me please if i am doing anything wrong in my region script i have only this event :

on "ActorEntry"
{
      Game.ChangeScene("scenes\Back\Back.scene");
     
}
Logged

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Re: ActorEntry event problem......
« Reply #1 on: October 21, 2011, 12:06:55 PM »

This might seem like an obvious thing, but I made this mistake in my early days of WME scripting, it may be that you have created a region entity instead of a region. Actor Entry only works with region
Logged

tambourinos

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re: ActorEntry event problem......
« Reply #2 on: October 21, 2011, 12:30:20 PM »

thank you very much for your answer...
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: ActorEntry event problem......
« Reply #3 on: October 22, 2011, 09:19:18 AM »

Just out of curiosity, was that the problem? Because other than that, I don't see why the ActorEntry event shouldn't work.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.038 seconds with 24 queries.