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

Objective based doors help

broken avatar :(
Created 9 years ago
by Psh
0 Members and 1 Guest are viewing this topic.
1,713 views
broken avatar :(
×
broken avatar :(
Location: usNew Jersey
Date Registered: 30 July 2013
Last active: 3 months ago
Posts
271
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
fk
Signature
iPlay - Facts                               
Hex Tower - Facts
Andromeda - Facts
Octagonal Ascension - Facts
iPlay v2 - Facts
Eclipse - Facts
MW2 Rust - Facts
Gulag - Facts
Decagon - Facts
---------------------------------------------- BO3
Scrapyard - Facts
Rust 2.0 - Facts
Rust MP - Facts
Gulag Again ffs - Facts
Hex Tower - Facts
Octagon - Facts
Decagon - Facts
Cataclysm - Facts
Dome - Bland
×
Psh's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Psh's Contact & Social LinksihaZzRaBieZAskI_haZzZ_RaBieZzPshZombies
I need help making three different doors that are controlled by objectives for my EE.

1st Objective: Survive 20 rounds.

2nd Objective: Get 625 kills x the number of players.

3rd Objective: Get 150 headshots x the number of players.

After each is complete a door is opened. If anyone could help, that would be amazing :D.
Last Edit: May 30, 2016, 03:48:13 pm by Psh
broken avatar :(
×
broken avatar :(
Location: usNUKETOWN
Date Registered: 19 February 2014
Last active: 8 years ago
Posts
177
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Specialist
Signature
×
thezombieproject's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
you still need help with this?
i think i have script i made a while back that should work for this

Last Edit: June 02, 2016, 02:53:41 am by thezombieproject
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 2 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
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
I need help making three different doors that are controlled by objectives for my EE.

1st Objective: Survive 20 rounds.

2nd Objective: Get 625 kills x the number of players.

3rd Objective: Get 150 headshots x the number of players.

After each is complete a door is opened. If anyone could help, that would be amazing :D.
I'll tell you how to do it easily.

First create a new script called mapname_ee.gsc and create it using init() onPlayerConnect and onPlayerSpawned functions. Call this script by init from mapname.gsc


1) level thread waitForRound
While loop to check if we're in less than round 20
GetEnt for the door and unlock.

2) level thread killsWatcher
While loop with
Local Variable: kills_needed
Level Variable: level.kills_acquired this you need to create yourself in _zombiemode_spawner which is where the death function and stat increment for the attacker is done, in here increment your level var.

Kills_ needed will constantly make sure that the amount of players x base is correct because a player can leave and then you'd get douched.

In the loop run every 0.05 seconds (1 frame) and update the local variable, the while loop condition is kills_ needed<= level var


3) same as #2 except you have to find where motd is headshot from the functions available and increment.

Last Edit: June 02, 2016, 04:49:28 am by DidUknowiPwn

 
Loading ...