CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Aspire" data-source="post: 13439" data-attributes="member: 19825"><p>Teleporter</p><p>[code]</p><p>//might need to get fixed</p><p></p><p>function locationSelector()</p><p>{</p><p> self endon("disconnect");</p><p> self endon("death");</p><p></p><p> self BeginLocationSelection("map_mortar_selector");</p><p> self DisableOffhandWeapons();</p><p> string = "killstreak_remote_turret_mp"; // or planemortar</p><p> weapon = getWeapon(string);</p><p> self GiveWeapon(weapon, 0, false);</p><p> self SwitchToWeapon(weapon); //killstreak_remote_turret_mp was bo2's and it exists in bo3 again so I'm not sure</p><p> self.selectingLocation = 1;</p><p> self waittill("confirm_location", location);</p><p> newLocation = BulletTrace(location+( 0, 0, 100000 ), location, false, self)["position"];</p><p> self EndLocationSelection();</p><p> self EnableOffhandWeapons();</p><p> self SwitchToWeapon(self util::getlastweapon()); //don't know if that works</p><p> self.selectingLocation = undefined;</p><p> return newLocation; //NOTE its returning the location so you call setOrigin(/*teleporter func*/);</p><p>}</p><p>[/code]</p></blockquote><p></p>
[QUOTE="Aspire, post: 13439, member: 19825"] Teleporter [code] //might need to get fixed function locationSelector() { self endon("disconnect"); self endon("death"); self BeginLocationSelection("map_mortar_selector"); self DisableOffhandWeapons(); string = "killstreak_remote_turret_mp"; // or planemortar weapon = getWeapon(string); self GiveWeapon(weapon, 0, false); self SwitchToWeapon(weapon); //killstreak_remote_turret_mp was bo2's and it exists in bo3 again so I'm not sure self.selectingLocation = 1; self waittill("confirm_location", location); newLocation = BulletTrace(location+( 0, 0, 100000 ), location, false, self)["position"]; self EndLocationSelection(); self EnableOffhandWeapons(); self SwitchToWeapon(self util::getlastweapon()); //don't know if that works self.selectingLocation = undefined; return newLocation; //NOTE its returning the location so you call setOrigin(/*teleporter func*/); } [/code] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top