Betonquest: Particles and variables

Created on 28 May 2017  路  4Comments  路  Source: BetonQuest/BetonQuest

Hello,

C0osh!

First things first. I have sent you the email you asked for 12 separate times. but just in case you did not get it I attached the link to it.
https://www.dropbox.com/s/3qvsd912fda423w/pl.ZIP?dl=0

First question! particles. how does one define a particle effect! using the effectslib hook. do I just shove this code in my main.yml
http://prntscr.com/fd3fbv
I know it says custom.yml but where does one find said custom.yml
after all that is said and done how to I call the effect. I am guessing I can't just shove this
http://prntscr.com/fd3gha
in events and do the regular /q event (name) (package).(event_name) ingame

Question 2! how does one work with variables in detail. never actually used them and I imagine the location variable would come in handy.
where do I define it and how do I shove it in my conditions and events. Also is there a way to make the location variable select a location that is a certain amount of blocks away from the player. for example, let's say a player is stood at random coordinates lets call them 'b' and 5 blocks away from the player on the x coordinate let's call that 'a' is there a way to select 'a' with a location variable

Support Question

Most helpful comment

@Co0sh glad to see you "back in business!
As I used Betonquest for a long time (since Version 1.7.6) and always got fast help from you (One time I did send a bug report during a informatics lecture and you made a reply, a bugfix and a developmentbuild before my lecture ended. This realy impressed me^^) I felt like I could now share this knowledge to help others.

All 4 comments

@Question 2:
In your case it would be %location%->(5;0;0).
%location% gives the players location and the rest is a vector added to it which results in the new location.
For mor information: https://github.com/Co0sh/BetonQuest/wiki/Reference#unified-location-formating

With your first question I cant help as I never used EffectLib.

Perfect Thank you very much!

It must have been a typo in the address, I haven't received anything, not even in spam folder.

  1. You have to create that _custom.yml_ file in your package manually, then paste the effect there.
  2. You don't have to define variables, just use them in your conversations, events and conditions. They don't work in objectives (yet? maybe I'll make it possible) though.

I'm sorry for the delay, I hope I can get back to programming soon. Thank you @joblo2213 for taking the time to help 鉂わ笍

@Co0sh glad to see you "back in business!
As I used Betonquest for a long time (since Version 1.7.6) and always got fast help from you (One time I did send a bug report during a informatics lecture and you made a reply, a bugfix and a developmentbuild before my lecture ended. This realy impressed me^^) I felt like I could now share this knowledge to help others.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tiplish picture Tiplish  路  5Comments

NotJustPizza picture NotJustPizza  路  3Comments

Wolf2323 picture Wolf2323  路  4Comments

joblo2213 picture joblo2213  路  3Comments

digital-r picture digital-r  路  6Comments