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

Change NPC class via script? #737

Open
mrwonko opened this issue Oct 18, 2015 · 2 comments
Open

Change NPC class via script? #737

mrwonko opened this issue Oct 18, 2015 · 2 comments

Comments

@mrwonko
Copy link
Contributor

mrwonko commented Oct 18, 2015

As asked on JKHub - would it be possible to change an NPC's class using icarus? I'd have to take a look; if it's just a matter of changing an enum field in the NPC data it should be simple, unless that's not saved.

@ensiform
Copy link
Member

This sounds like something which could end up being problematic very easily. The class is best set only on spawn because of precaching and whatever else must happen upon class init.

@mrwonko
Copy link
Contributor Author

mrwonko commented Oct 18, 2015

Ah, shame. I may still look into it, but it's probably not (easily) possible then.

Maybe write so on JKHub?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants