UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Can't get teddy song to work...

broken avatar :(
Created 11 years ago
by Ratchet
0 Members and 1 Guest are viewing this topic.
2,714 views
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 28 July 2013
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Errors Love Me
×
Ratchet's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Ratchet's Contact & Social LinksRatchet_RSPaG.RatchetmlgxratchetTweetRatchetRFCLeader
I've tried following this tutorial: ZK Building a Full Zombies Map - #3 - Wall Posters, Sky, 3 trigger song egg
And I've looked up some but I can't find any that work. Please help.  :alone:
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
What part of it doesn't work exactly? could you post your EE script so we can see it?
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 28 July 2013
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Errors Love Me
×
Ratchet's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Ratchet's Contact & Social LinksRatchet_RSPaG.RatchetmlgxratchetTweetRatchetRFCLeader
Hint doesn't come up and song doesn't activate.

Code Snippet
Plaintext
hidden_song()
{
count = 0;
trig1 = getEnt("trig1", "targetname");
trig2 = getEnt("trig2", "targetname");
trig3 = getEnt("trig3", "targetname");
trig1 setHintString( "Press and hold to activate Teddy", true );
trig2 setHintString( "Press and hold to activate Teddy", true );
trig3 setHintString( "Press and hold to activate Teddy", true );
self thread tmdewait( trig1 );
self thread tmdewait( trig2 );
self thread tmdewait( trig3 );
while(1)
{
wait 1;
self waittill( "found_one" );
count = count+1;
if( count == 3 )
{
players = get_players();
for(k=0;k<players.size;k++)
{
players[k] playsound("song_name");
}
break;
}
}

}

tmdewait( trig )
{
trig waittill( "trigger", player );
trig delete();
self notify( "found_one" );
}
Last Edit: January 22, 2014, 05:45:11 am by Ratchet
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 9 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
It looks okay..., you calling it in your .gsc?
Marked as best answer by Ratchet 11 years ago
broken avatar :(
×
broken avatar :(
Location: usSouth Carolina
Date Registered: 28 July 2013
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Errors Love Me
×
Ratchet's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Ratchet's Contact & Social LinksRatchet_RSPaG.RatchetmlgxratchetTweetRatchetRFCLeader
It looks okay..., you calling it in your .gsc?

I FIXED IT. Somehow I missed a step. I forgot to put in: thread hidden_song();
Last Edit: January 22, 2014, 05:16:22 am by Ratchet

 
Loading ...