Skip to content
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

Icons & jsons #822

Closed
SMWpalkia opened this issue Dec 25, 2024 · 9 comments
Closed

Icons & jsons #822

SMWpalkia opened this issue Dec 25, 2024 · 9 comments
Labels
question Further information is requested

Comments

@SMWpalkia
Copy link

What is your question?

Is it possible to switch icons on a character mid chart without having to make a new json for for them?

@SMWpalkia SMWpalkia added the question Further information is requested label Dec 25, 2024
@JordanSantiagoYT
Copy link
Owner

What is your question?

Is it possible to switch icons on a character mid chart without having to make a new json for for them?

runHaxeCode([[
            game.iconP2.changeIcon('name');
]])

maybe

@SMWpalkia
Copy link
Author

do you know how i could run this in a lua script? im very unfamiliar with haxe

@JordanSantiagoYT
Copy link
Owner

oh, you can put that in any lua script and it'll work

@StinkTheStinker
Copy link

as long if its in a function

@SMWpalkia
Copy link
Author

ty 👍

@SMWpalkia SMWpalkia reopened this Dec 25, 2024
@SMWpalkia
Copy link
Author

SMWpalkia commented Dec 25, 2024

last thing, how do i change the color of the health bar along with it? ik it has something to do with this
image
image

@moxie-coder
Copy link
Collaborator

moxie-coder commented Dec 25, 2024

last thing, how do i change the color of the health bar along with it? ik it has something to do with this image image

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

@SMWpalkia
Copy link
Author

SMWpalkia commented Dec 25, 2024

last thing, how do i change the color of the health bar along with it? ik it has something to do with this image image

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

could i get a brief rundown on how this works please? i have the colors i need i just dont know where to put them
image

@moxie-coder
Copy link
Collaborator

last thing, how do i change the color of the health bar along with it? ik it has something to do with this image image

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

could i get a brief rundown on how this works please? i have the colors i need i just dont know where to put them image

simply just do setHealthBarColors(33FFFF, FF66FF) as an example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants