-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added an export function to allow changing the default animation. #487
base: main
Are you sure you want to change the base?
Conversation
Addition of an exports function to enable the use of custom animation directly in the script, thus eliminating external means of doing the same thing, taking advantage of what the script already offers.
added export to change radio anim.
This seems like something that should be a ConVar, not an export. |
I also thought about this, but on the other hand the server dev may want to create a script that allows, for example, the user to choose the custom animation from a list. That's why I put it as exports. |
You missed a call under this to free the animation when its no longer needed if shouldPlayAnimation then
RemoveAnimDict('random@arrests')
end |
Co-authored-by: Dillon Skaggs <[email protected]>
|
removed anim dict correctly
I believe this time it fixes it. |
Just a bump here, didn't forget about this, just need to test this along side other changes I have stashed away :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Addition of an exports function to enable the use of custom animation directly in the script, thus eliminating external means of doing the same thing, taking advantage of what the script already offers.