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

Ignore, figured out the issue.

broken avatar :(
Created 9 years ago
by ProGamerzFTW
0 Members and 1 Guest are viewing this topic.
1,250 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
I'm trying to make a looping FX move from joint A to joint B, disappear and go from joint A to B again repeatedly. How would I do this with script? :) Thanks for the help.

Edit: This is not for a gun.
Last Edit: July 02, 2015, 02:54:49 pm by ProGamerzFTW
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community 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.
Community 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 Links[email protected]HarryBo21HarryBo000
easiest way, spawn a struct, play the fx on it, have it in a loop that makes it move, then reset its position and repeat the loop

ideally this should all be done in the fx itself tho
Last Edit: July 02, 2015, 12:19:51 am by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
easiest way, spawn a struct, play the fx on it, have it in a loop that makes it move, then reset its position and repeat the loop

ideally this should all be done in the fx itself tho

Well what I'm trying to do is a bit more than just that.

I'm working on an animated mystery box and trying to make a light fx always move between two FX joints on it to give it a more futuristic feel to it.
Last Edit: July 02, 2015, 12:42:38 am by ProGamerzFTW
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community 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.
Community 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 Links[email protected]HarryBo21HarryBo000
? you just asked the same question again?

any fx can be lined up to a model, if you dont wanna do it that way then spawn an invisible model (or struct), play the fx on that, and move it in a loop?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 3 months ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
? you just asked the same question again?

any fx can be lined up to a model, if you dont wanna do it that way then spawn an invisible model (or struct), play the fx on that, and move it in a loop?

Well I don't want to spawn it and line it up with the model, I just wanna know how do I move it to a specific joint on a model with joints WITHOUT the need to spawning script_structs/script_origins or invisible models. I got the fx to spawn on one joint via

Code Snippet
Plaintext
		fx_origin = box getTagOrigin("tag_arrow_l");
fxObj = spawn( "script_model", fx_origin );
fxobj setmodel( "tag_origin" );
playfxontag( level._effect["mysterybox_ls"], fxObj, "tag_origin" );

I just need the function to make the fx to move to another joint, lets say, tag_arrow_r.

Edit: if you mean spawn like you seen in this script, woops, lol, not sure how to move it though

Edit2: Nevermind, figured it out. :)
Last Edit: July 02, 2015, 01:24:27 am by ProGamerzFTW

 
Loading ...