SP Help: Make A Door Stay Closed until triggered
Moderator: Moderators
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
SP Help: Make A Door Stay Closed until triggered
I have almost finished my first single player map but I need a little help. I would like to make it so the player cannot continue to the next part of my map until they get explosives. I already set up a trigger for the player to get explosives, and that all works, I just need to know how to impliment the "door wont open til you do this" thing, Thanks
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
my god its so simple! MUAHAHAHA oh Thanks lol 
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
hehe, here is an example:
Code: Select all
level waittill prespawn
exec global/door_locked.scr
level waittill spawn
$door lock
my_bomb_trigger:
$door unlock
$my_bomb_door_message nottriggerable//disables the trigger
end
//add bomb and objective stuff
my_bomb_door_message:
//this should be trigger_use
iprintln "You need to set the bomb!"
endmessage
The door itself can do the message, so there is no need for a seperate trigger and script thread.
Key: message
Value: Find explosives to unlock this door!
Note: Do not put quotes around the value.
It might be more realistic to blow the door open with explosives.
Key: message
Value: Find explosives to unlock this door!
Note: Do not put quotes around the value.
It might be more realistic to blow the door open with explosives.
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
Its Okay, I got it all done. I was thinking the blow up the door thing, but I am sick of working on this map lol. Also I just really wanted to hold the player away from the next area because that door is the first one you see. Anyway Thanks guys, lol if anyone wants to check out my map email me at lone_rebel_bia@yahoo.com (Just remember this is my first attempt at single player
)
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
bored lol
Hey Everyone I got bored and made a lil movie with pics from the map, if you would like to see it go to
http://geocities.com/lone_rebel_bia/mohmovie.html
http://geocities.com/lone_rebel_bia/mohmovie.html
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
naaaah thats just my death room lol
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
Download Link
Well my website has screwed up but I can still upload files so here is a link to download the map if you want it...... http://bb.1asphost.com/lonemaps/user_bia.pk3 If you download it tell me what you think! (constructive critisism only
)
Last edited by Lone_Rebel on Tue May 04, 2004 2:28 am, edited 3 times in total.
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps
-
Lone_Rebel
- Sergeant
- Posts: 72
- Joined: Sat Jul 05, 2003 11:39 pm
- Location: USA
- Contact:
fixed the link to map in previous post...... OH! for the readme http://bb.1asphost.com/lonemaps/READMEFIRST!.txt JUST A NOTE: THIS IS A SPEARHEAD MAP SO PLACE IT IN MAINTA
It's not whether you win or lose... It is how many enemies you take down with you that counts.

Lone's MOH Maps

Lone's MOH Maps


