Suspending weapons Created 14 years ago2010-05-16 20:54:10 UTC by MSandt MSandt

Created 14 years ago2010-05-16 20:54:10 UTC by MSandt MSandt

Posted 14 years ago2010-05-16 20:54:10 UTC Post #281289
How to suspend weapons for a specified duration such as for the length of a scripted sequence? The point is to make it so that when a script is triggered, no weapons are displayed on screen and, naturally, you wouldn't be able to shoot, but once the script is over things would revert back to normal.
Posted 14 years ago2010-05-17 00:45:30 UTC Post #281290
Well if you're sure which weapons the player will have at this point (As in they won't have missed any) you can try using a player_weaponstrip at the start of the sequence, and then spawning the weapons at the players location at the end of the sequence. You'll need to guess how much ammo they have at that point, though.
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 14 years ago2010-05-17 03:01:02 UTC Post #281293
Or you can even force them to look at the event with the help of some cameras, plus you wont be able to see ur weapons while ur in camera mode... for tutorials on how to use the camera, there should be one on twhl.
Skals SkalsLevel Designer
Posted 14 years ago2010-05-17 04:57:23 UTC Post #281295
That wouldn't work if you wanted the player to be able to walk around and be in control while the sequence was going, however.
Jessie JessieTrans Rights <3
Posted 14 years ago2010-05-17 07:08:18 UTC Post #281297
True, but its the best way to grab a players attention and not have his weapons out at the same time, then get everything back as it was afterwards
Skals SkalsLevel Designer
Posted 14 years ago2010-05-17 08:11:42 UTC Post #281299
That's true. I guess it just depends on what kind of effect he's after.
Jessie JessieTrans Rights <3
Posted 13 years ago2010-05-18 12:43:49 UTC Post #281323
Yeah, the camera effect does exactly what I need. Thanks!
You must be logged in to post a response.