Scripts / Two Free Christmas Scripts - sound zones and teleports

Author
Message
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 24th Dec 2017 21:50
So I've been working on another game for my wife this year and I have two free scripts to give back to you guys.
The first is a modified sound zone that allows you to setup multiple sound zones throughout a level and will freeze the player when they are in it for 4500 ms and then unfreeze them afterwards.

It's very easy to use, simply set a trigger zone, assign the script, and assign the sound file you want to use.


The second script is a simplified, modified teleport script based on one I found on the forums years ago. You assign it to a static object (in this case, a wooden palette) and then point it to an object on the 'ifused' property field of the script. It can point to nearly anything in the game though I just end up using more palettes because I'm lazy.

Anyways here's the script.



Merry christmas I will probably include these two as part of my upcoming library of utility scripts.

Wolf
Forum Support
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 25th Dec 2017 04:30
Wonderful! These will come in quite handy. Especially the teleport script. Its a lot shorter than the one I previously had too.
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 25th Dec 2017 16:22 Edited at: 25th Dec 2017 16:53
I revised the sound script to this:


That way it doesn't go and give negative values, merry Christmas all.

Login to post a reply

Server time is: 2024-04-26 11:26:01
Your offset time is: 2024-04-26 11:26:01