#Weapon animation on pickup
1 messages · Page 1 of 1 (latest)
4x or 3x
3x.
Wouldn't that make the animation play when the map begins?
I want the animation to play when the player picks it up. No other time.
@zealous fjord Other guy isn't much help, return and assist me please
they're mods silly, not helpers
ping satt or something
this is literally the same thing that i've said before
💀
guess im bad at explanations
what about the when collected in the weapon's item component
idk i put an animate in when collected and it worked
I tried that. I'll make a video.
By the way, I should specify - I do want the weapon to be selected on pick-up. I've been selecting "Auto-use on pickup" to make that happen.
Nevermind, I don't need a new video. I tried using animations in "when collected" and it didn't work. You can see it in the first video.
Elaborate.
I'm assuming you mean
On pickup > Script > Switch weapon to gun that was picked up > Animate
can you show me the script you used?
Why would I need to self destroy??
Auto use seems to work just fine with weapons
That sounds unnecessary. Is there really no way to do it with 1?
idk i don't really get what you guys are trying to do here
I don't want to have 2 versions of one weapon. There's no guarantee that would even do what I REALLY need, which is animate on pickup.
Use an animation for a weapon when picking it up (ie when picking up AK it will play bolt racking animation)
Well, I need help with animating on pickup. Let's stop this tangent.
auto use makes je auto select it from what i have seen in my testing
Not what I'm trying to do. I already figured that out.
You worded it a bit strangely. I don't quite understand.
Video.
Idk this is what i did and it worked just fine during my testing
That makes the player do an animation. I want the WEAPON to do an animation. Sorry if I made it a bit ambiguous.
when object is created actually does it
when object is created works too
with a very small script needed from what i know
if you don't want the weapon to just play it when createfd
well yes but it also makes it play when equipped
but you can just add a Component with a true/false that checks if the weapon has been picked up to avoid it from animating at start
idk in my testing the weapon animated with the when object is created
and to avoid it animating on the map start just slap a true/false
true/false is just a number that goes to 0 or 1
it was bugged before the update
0 is false and 1 is true
what update
before zeditor
what more things would you use a true/false converted to numbers in
you can do that with true/falses
i don't really get what do you mean with select/unselect spam tho
it would be the same as numbers
me using name and description attributes as variables
worked!
i mean if you just need a check for how many times you equipped and dequipped or something you can just use a +1
New problem
The animation will immediately play when I start the game
I'm gonna try tweaking it
true/false
what are you guys talking about lol
animation plays when item is collected
what bool has to do with item collection thing??
The animation plays when map starts basically
when the object is equipped
it checks if the weapon user is the main actor
then it’ll animate
I want it to only trigger on first equip.
oh mk
i forgot what's the post point was initially
you can do it without variables
try changing the >= to just =
i think you can just do = because it’ll just keep on animating once it’s greater than two
??
anyway i can't think my brain isn't braining
i haven't slept since yesterday so i might be stupid
Pay attention to the AK when map begins
i think thars what he wanted
that's the point you moron
i did it
so like should i send a video
Basically item animates only when equipped (+ only when equipped once)
Nevermind, didn't fix it
Either plays when map starts (when 1 is used) or doesn't play unless you unequip then reequip (when 2 is used)
ssend...
i will just give me a sec
Show the script 
Your actor may need a true/false component tho which is the one represented in the images
...why??
I couldn't get it to work on the item
My method works just fine
same 
I can't even play VR too, my older brother only takes it NOW even though he had the chance to use it several times
skill issue

I give up for today, I'll try this again tomorrow smh
idk im the younger brother so i get to do lots of stuff 
