Jump to content
  • 0

Question

Posted

Hello when i put this line inside my script i get error in npc that syntax doesn't exist

	elif st.getPlayer().isHero() == 1 :
		htmltext = "<html><head><body> Sorry, You Have Already Hero Status!</body></html>"

 

(it works fine in another pack)

Anyone knows any alternative ?

3 answers to this question

Recommended Posts

  • 0
Posted

Use java for quests if you use postIL stuff.

 

If you use IL or lower, just open a python quest (datapack/jscript) and see the syntax.

I have gracia epilogue pack and all scripts are done in java language

 

I see that java check it like this: player.getOlympiadManagement().isHero()) but in python i got errors

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...