April 27, 2024, 07:23:35 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Current Scene
« previous
next »
Pages: [
1
]
Print
Author
Topic: Current Scene (Read 2727 times)
0 Members and 1 Guest are viewing this topic.
Krosad
Anate Studio
Occasional poster
Karma: 2
Offline
Gender:
Posts: 97
anatestudio.com
Current Scene
«
on:
May 27, 2012, 01:30:43 PM »
Hi,
I need some script like this:
if (Game.CurrentScene == "street") {...}
WME doesn`t have method "currentScene". How do I solve this problem?
Logged
Azrael
Regular poster
Karma: 9
Offline
Gender:
Posts: 155
Re: Current Scene
«
Reply #1 on:
May 27, 2012, 01:41:56 PM »
You can use
Code: WME Script
Scene
.
Name
==
"....."
It return the name of the current scene.
Logged
Krosad
Anate Studio
Occasional poster
Karma: 2
Offline
Gender:
Posts: 97
anatestudio.com
Re: Current Scene
«
Reply #2 on:
May 27, 2012, 02:04:41 PM »
thanx
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Current Scene