April 23, 2024, 07:53:00 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
For WME related articles and tutorials visit
WME Resource Center
.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
RESET GAME AND RESET OBJECTS
« previous
next »
Pages: [
1
]
Print
Author
Topic: RESET GAME AND RESET OBJECTS (Read 3280 times)
0 Members and 1 Guest are viewing this topic.
SBOVIS
Frequent poster
Karma: 0
Offline
Gender:
Posts: 404
FORGET REALITY SURRENDER TO YOUR DARKEST DREAMS
RESET GAME AND RESET OBJECTS
«
on:
March 08, 2005, 12:46:32 PM »
Hi all,
I am nearing the sompletion of my demo and I want at the end of the demo on the end scene to:-
1. Reset the game and all global variables
2. Reset the items back to their original positions before the player picked them up
Any ideas on how to achieve this??
Logged
kind Regards
Steve Bovis
MAJESTIC STUDIOS
odnorf
w00t?
Global Moderator
Addicted to WME forum
Karma: 7
Offline
Gender:
Posts: 1456
Lamp dog!
Re: RESET GAME AND RESET OBJECTS
«
Reply #1 on:
March 08, 2005, 03:16:16 PM »
I haven't use it myself but I think Game.Reset() will do what you want.
Logged
fl*p
SBOVIS
Frequent poster
Karma: 0
Offline
Gender:
Posts: 404
FORGET REALITY SURRENDER TO YOUR DARKEST DREAMS
Re: RESET GAME AND RESET OBJECTS
«
Reply #2 on:
March 08, 2005, 05:19:01 PM »
Thanks but this just resets the variables not the items.
Anyone else done this??
Logged
kind Regards
Steve Bovis
MAJESTIC STUDIOS
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: RESET GAME AND RESET OBJECTS
«
Reply #3 on:
March 08, 2005, 06:43:47 PM »
Game.Reset() does reset the items as well.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
SBOVIS
Frequent poster
Karma: 0
Offline
Gender:
Posts: 404
FORGET REALITY SURRENDER TO YOUR DARKEST DREAMS
Re: RESET GAME AND RESET OBJECTS
«
Reply #4 on:
March 08, 2005, 06:57:50 PM »
Oh ok great stuff many thanks will try this out.
Logged
kind Regards
Steve Bovis
MAJESTIC STUDIOS
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
RESET GAME AND RESET OBJECTS