- Adds a URL Block when triggered will ask the player if they want to goto the specified URL (Note you can paste a URL into the GUI)
- Can ask the player if they want to goto a URL from scripts
- script.openUrl(String url)
- script.openUrl(String url, String msg)
- Can copy and paste into the chat bar
Can copy and paste into the chat bar is awesome !!
ReplyDeleteGreat work :D
Don't see much use in it, but nonetheless, good work.
ReplyDeleteI know this isn't the best place for a bug report, but I couldn't find any other way to reach you:
ReplyDeletever r962
When you have a Custom Mob Spawner that spawns a scripted entity (Entitys/Example.txt), you cannot use the function entity.setTarget(Player). It spits out an in-game error saying no such function or method exists. You can use every other related one, including entity.pathToEntity(player).
It's in .txt? Shouldn't it be in .js?
ReplyDeleteScripted Entities don't have setTarget because they have no logic for targets.
ReplyDeleteSN777 Divinus the use for this is example having links in game say to your forum page or other such places.
I understand that, but I rarely would use them. Then again, they would be good to redirect to polls on the corresponding topic, so that they can voice their opinions.
ReplyDeleteAlso, Cryect, you should make a script object for lighting values from the /config menu if it doesn't exist. I could make good use of that in the future, and others could use them as night vision goggles without affecting Spider aggresion.
ReplyDeleteIf it's not possible for scripted entities to fight, then can you please give us a way to make humanoid enemies? The closest I can come is a zombie with a changed skin/weapon and fireimmune, but it still makes zombie sounds.
ReplyDelete@Szythe You can override his sounds. I think the folder directory is:
ReplyDelete[yourMap]>
soundOverride>
newsound>
mob
As for via scripting, Idk.
What is URL?
ReplyDelete@SN777 Divinus, its already there with effect.getLightRampValue(int i), effect.setLightRampValue(int i, float f) and effect.resetLightRampValues(). i should be between 0 and 15 for light at that value and f being how bright.
ReplyDelete@Szythe, its possible for them to fight you just have to code the logic of how you want them to fight.