Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I saw a post by trem saying to use menuscriptedresponse in menu to catch and pass it on - i can find no examples of this used, and absolutely no info on it anywhere
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
he says scriptMenuResponse" not "menuscriptedresponse"
since ive never looked into this... i can only tell u files too look into
raw\ui\controls_common.inc
raw\ui\popup_leavegame.menu
raw\ui\scriptmenus\invert_axis.menu
raw\ui\scriptmenus\invert_axis_pc.menu
raw\ui\scriptmenus\select_difficulty.menu
raw\ui\scriptmenus\special_features.menu
ill look into it after school if my ark server is still down
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
He does that, lol.Have you seen this post?
https://ugx-mods.com/forum/index.php/topic,6745.0.html
oops nvrmd, I see you had it there at the bottom
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
so... if im reading it right, u should have ur csc set 4 dvars for each player (maybe use a for statement to make it the # of players) then set the variable to true or whatevs... then in gsc have a looping check to see if the dvar is true or the designated variable? The only thing that i would think that would mess with ur process is the setting dvar part... If i remember correctly when i was testing dvar stuff, u need to have the dvar defined b4 the game starts, sort of like xmodels. Idk if thats tru or not, its been a while since i last scripted anything in gsc, let alone with dvars.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I forgot to check my stuff last night to see if I do this at all, I don't think I do, cause I think I always found another way around it, but what liamsa669 said makes sense to try. You say it always updates the host/level, well then give the host/level 4 dvars to check and set then. Just one for each possible player? mydvarplayer1, mydvarplayer2, mydvarplayer3, mydvarplayer4...? Then do whatever you want in gsc... no? That's what he is saying right?
I'm not sure what you are trying to do to suggest any alternatives.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
this is what i thought i was doing before, let me explain
i was told that doing setClientDvar for any player in CSC updates the host, so i had 4 dvars on that host - one for each player, that i was checking in a loop
but setClientDvar actually doesnt and is infact unique to that player ( which makes sense really ) and "setDvar" is a unknown function in CSC - and you cant get client dvars in gsc so im not sure how to go about it basically
pretty much i need player 2 - to be able to update player 1s dvars, or handle it globally, both i cant find a solution for
its really annoying coz every other aspect is working, the timing out, dissapearing when you die, picking it up etc,, just not notifying back so i can reward the player with their free grenades or whatever
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
SetDvarBool() seems to be in csc, did you try that? (According to my list of csc functions people have provided)
Hmm, and this has to be done in csc?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
i never got around to trying this but i have always wondered if you set an entity variable in either gsc or csc will it be visible and be the same value in the opposite. so for instance could you make a variable in csc
and then do a loop in gsc to see when the variable has changed?
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
i havent tried that actually, will check it
and no it doesnt "have" to be, but i imagined the performance enhancement behind it amoung other things
like setinvisibletoplayer seems sorta buggy, sometimes itll kill the fx playing on it sometimes it wont, and any mistakes can lead to other people picking them up when they shouldnt, plus in CSC can play sounds to one player only and more
was just looking to improve my vulture and make it manageable for proper use in WAW with less risk - plus call it a personal challenge
weve been talking in chat a lot about the advantages of csc, intrigued me
i never got around to trying this but i have always wondered if you set an entity variable in either gsc or csc will it be visible and be the same value in the opposite. so for instance could you make a variable in csc
and then do a loop in gsc to see when the variable has changed?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Lol, okay, okay. I know blunt has made many strides with csc related things if he weighs in here. I've seen him do many player specific/unique things in csc using csc scripts and functions I would never had thought to look in and haven't had the time to learn more about.
I thought it might be for vulture. Other than the fx playing to just one player, I don't see any other advantages to use csc. But I'm sure I didn't think of everything. GSC can play sounds to only one player as well, player playlocalsound I think only plays to the player, and not 3d, unless you meant something else.