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

Creating a clip in script

broken avatar :(
Created 11 years ago
by Harry Bo21
0 Members and 1 Guest are viewing this topic.
1,607 views
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
ok, next question, whats the best way to spawn a clip there too?
Marked as best answer by Harry Bo21 11 years ago
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Quote
Quote from: Harry Bo21 on Today at 11:36:44 am
ok, next question, whats the best way to spawn a clip there too?
Either use a spawnCollision or use spawn("script_model") setModel("collision----") hide();

Probably should use that method instead.

Code: [Select]
place_juggernaut_machine()
{
   machine_origin = (172, 594, 145);
   machine_angles = (0, 0, 0);

   machine = Spawn( "script_model", machine_origin );
   machine.angles = machine_angles;
   machine setModel( "zombie_vending_jugg_on" );
   machine.targetname = "vending_jugg";

   machine_trigger = Spawn( "trigger_radius_use", machine_origin + (0 , 0, 30), 0, 20, 70 );
   machine_trigger.targetname = "zombie_vending";
   machine_trigger.target = "vending_jugg";
   machine_trigger.script_noteworthy = "specialty_armorvest";

   machine_clip = Spawn( "script_model", machine_origin + (0, 0, 100) );
   machine_clip.angles = machine_angles;
   machine_clip SetModel( "collision_geo_64x64x256" );
   machine_clip Hide();
}
This was adapted from the code in BO1 and how it places the Mule Kick in maps.
What you're looking for is the machine_clip code.

i failed at moving his post along with mine lol, best answer to DUKIPWN

 
Loading ...