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

black ops adding perks

broken avatar :(
Created 8 years ago
by hajhaka
0 Members and 1 Guest are viewing this topic.
1,210 views
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 1 November 2013
Last active: 3 years ago
Posts
61
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
hajhaka's Groups
hajhaka's Contact & Social Links
So how do i find the origin angles becuse if i wanna add perks they need to be somewhere and i need thoose i saw in no mans land only work progress post https://gyazo.com/44b46c1c571f7a319203ad1d9adde7f1 u can see it says origin angles
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
add a loop that is constantly checking your origin and printing it to the screen, then physically walk to that spot

the same can be done for angles, but remember, most perk machines are actually facing sideways
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 1 November 2013
Last active: 3 years ago
Posts
61
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
hajhaka's Groups
hajhaka's Contact & Social Links
Like lilrifa send me his http://pastebin.com/4xnXLC6M so i added the code to my zombie_theater.gsc and started my black ops but nothing happend he told me i had to write a fuction to get players and loop througt them then thread it so if enyone can help me do that that whold be nice :)
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Like lilrifa send me his http://pastebin.com/4xnXLC6M so i added the code to my zombie_theater.gsc and started my black ops but nothing happend he told me i had to write a fuction to get players and loop througt them then thread it so if enyone can help me do that that whold be nice :)

Code Snippet
Plaintext
// under _zombiemode::main(); in theatre thing.gsc and make sure its copied to your mod and ticked in launcher. May also need rawfile,zombie_theatre - in your mod.csv

level thread thread_on_players();


// dump all this at the bottom

thread_on_players()
{
wait 5;
players = get_players();
for ( i = 0; i < players.size; i++ )
{
players[ i ] thread coords();
}
}

coords()
{
for(;;)
{
self iPrintLn( "Origin: " + self.origin );
self iPrintLn( "Angles: " + self.angles );
wait 1;
}
}
Last Edit: October 25, 2015, 05:51:57 pm by Harry Bo21

 
Loading ...