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

Miscellaneous Questions

broken avatar :(
Created 10 years ago
by nabaro
0 Members and 1 Guest are viewing this topic.
1,485 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
A few questions I encountered today while scripting. 1: How does one go about turning a perk machine "off"? 2: I am quite aware of the
Code Snippet
Plaintext
waittill("trigger")
function, but is there a way to test "if" a trigger has been activated rather than making the script wait for a trigger? 3. What are the KVPs that distinguish different Pandora's Boxes (ex. how the first and third locations are different KVP-wise)? Thanks in advance!
This topic contains a post which is marked as the Best Answer. Click here to view it.
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
1: How does one go about turning a perk machine "off"?
You script it. Stock scripts provide no functionality for that.

2: I am quite aware of the
Code Snippet
Plaintext
waittill("trigger")
function, but is there a way to test "if" a trigger has been activated rather than making the script wait for a trigger?
What are you trying to do exactly?

3. What are the KVPs that distinguish different Pandora's Boxes (ex. how the first and third locations are different KVP-wise)?
Open Sniperbolt's prefabs and look. I think it's the script_noteworthy, but I haven't checked.

- Phil.
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
1. Okay, I'll do my best  :)
2. My script has a loop where it is supposed to check if a trigger has been activated, and if it has, it will do one thing, and if it hasn't, it will do another.
3. Okay, will do.
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
Simply use two functions. One waits for the trigger, the other for a timeout, or something similar, depending on what you need.

- Phil.

 
Loading ...