Frictional Games Forum (read-only)

Full Version: Last thing you copied
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
c
bc





a
xB


A
cb


B a C
Spoiler below!
The Harpooner Song :
What will we do with the drunken whaler
What will we do with the drunken whaler
What will we do with the drunken whaler
Early in the Morning
Way hey and up she rises
Way hey and up she rises
Way hey and up she rises
Early in the morning
Stuff him in a sack and throw him over
Stuff him in a sack and throw him over
Stuff him in a sack and throw him over
Early in the morning
Feed him to the hungry rats for dinner
Feed him to the hungry rats for dinner
Feed him to the hungry rats for dinner
Early in the morning
Way hey and up she rises
Way hey and up she rises
Way hey and up she rises
Early in the morning
Shoot him through the heart with a loaded pistol
Shoot him through the heart with a loaded pistol
Shoot him through the heart with a loaded pistol
Early in the morning
Slice his throat with a rusty cleaver
Slice his throat with a rusty cleaver
Slice his throat with a rusty cleaver
Early in the morning
Way hey and up she rises
Way hey and up she rises
Way hey and up she rises
Early in the morning

How it works:
We add a callback specifically for an Entity to collide to (AddEntityCollideCallback).
As it is showed, it's named Player. This specific callback will call function, which is PlayerCollide in the script.
This function has a specific string.
These string represent what it will do.
The function have the command PlaySoundAtEntity.
This will mean that if Player (Self-explainatory.) collided with ScriptArea_1, the callback will do a function, and that function will do PlaySoundAtEntity.
Which means that it will play what sound at what area.
---
Me explaining about scripting.
SpecimenLove-2667
"Guys, I know what you're all thinking, you are all just a bunch of homos that want at my dick do badly because it is so huge and you want to give me head. Well, to break the truth to you I am a straight guy with my own problems so I suggest trying to look for a different guy, preferably someone black *sigh* damn gays always wanting my dick inside their ass these days..."

10/10
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42