Scripts / [SOLVED] The Big Escape missiondoor.lua

Author
Message
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Sep 2022 16:18
I'm trying to make a level where you have to kill 10 entities so that a door can open. I was looking at the Big Escape demo and the missiondoor.lua script.

I put the missiondoor.lua on a door but I'm getting errors at line 12.

In the Stories folder for the Big Escape there are a few other scripts. I'm not sure what and where I need to put these scripts in the level for the missiondoor.lua to work.

Any assistance would be greatly appreciated. Thank you!

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 6th Sep 2022 18:34
This post has been marked by the post author as the answer.
The missiondoor.lua script relies on a global variable called KillCount, when that is set to 5 then the door will be openable.
Been there, done that, got all the T-Shirts!
PM
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 6th Sep 2022 21:06
Thank you AmenMoses, I got it to do what it needs to do. Thanks!

Login to post a reply

Server time is: 2024-12-21 16:08:56
Your offset time is: 2024-12-21 16:08:56