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

Disable a trigger only for a certain player?

broken avatar :(
Created 10 years ago
by nabaro
0 Members and 1 Guest are viewing this topic.
2,383 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 January 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
nabaro's Groups
nabaro's Contact & Social Linkschelseafan122099nabarogamerblast11
Would it just be
Code Snippet
Plaintext
players[0] trigger disable_trigger();
or would I have to do something else?
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
RadihaX
Location: caCanada
Date Registered: 2 September 2012
Last active: 3 years ago
Posts
978
Respect
Forum Rank
The Decider
Primary Group
Community Mapper Elite
My Groups
More
My Contact & Social Links
More
Signature
Overrun
Lockdown
Overrun (Black Ops Mod)
Snowglobe
Leviathan
Abandoned School
Ski Resort
Leviathan Redux
×
JBird632's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
JBird632's Contact & Social LinksJBird632JBird632JBird632JBird632JBird632Mapper
This would be the way of only making the trigger visible to a player:
Code Snippet
Plaintext
trigger setvisibletoplayer( players[0] );
I would assume that you could loop it to do it for three players and that would work?
Last Edit: April 12, 2014, 10:08:17 pm by JBird632
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 January 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
nabaro's Groups
nabaro's Contact & Social Linkschelseafan122099nabarogamerblast11
A follow up question: do I have to make the trigger "invisible" or disable it before making it visible to everyone else?
Marked as best answer by nabaro 10 years ago
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
×
YaPh1l's Groups
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
Well, it kind of depends on what exactly you want to achieve in the end.
There's also
Code Snippet
Plaintext
trigger SetInvisibleToPlayer(player, true);
which might be what you are looking for. As I said, it depends.

- Phil.
broken avatar :(
×
broken avatar :(
drago
Location: mx
Date Registered: 5 July 2013
Last active: 4 years ago
Posts
941
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
×
jjbradman's Groups
jjbradman's Contact & Social Linksjjbradmanjjbradmanjjbradman
Well, it kind of depends on what exactly you want to achieve in the end.
There's also
Code Snippet
Plaintext
trigger SetInvisibleToPlayer(player, true);
which might be what you are looking for. As I said, it depends.

- Phil.
do setinvisibletoplayer is just for triggers or it can make models, fx invisible to other players too? o.O
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 February 2013
Last active: 6 years ago
Posts
186
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
Personal Quote
Every map needs a Panzer Soldat
Signature
HexPieRadiBirds Magical Fun Time Water Hole
×
AwesomePieMan's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
AwesomePieMan's Contact & Social Links
do setinvisibletoplayer is just for triggers or it can make models, fx invisible to other players too? o.O
I know it works for models and brushmodels, not sure about FX but probably not.
broken avatar :(
×
broken avatar :(
drago
Location: mx
Date Registered: 5 July 2013
Last active: 4 years ago
Posts
941
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
×
jjbradman's Groups
jjbradman's Contact & Social Linksjjbradmanjjbradmanjjbradman
I know it works for models and brushmodels, not sure about FX but probably not.
well thanks ill habe to try it out :)
broken avatar :(
  • steviewonder87
  • Deleted Member
×
broken avatar :(
steviewonder87
This user is deleted :(
Please tell me this is not for another Spiderbite/Thompson troll.... >:(

 
Loading ...