Igor Q. 519 Posted January 9, 2019 Would it be possible to allow zone collision that can be enabled or disabled? It would be useful for creating invisible blocks, boundaries, etc. (Only along the surface however) Share this post Link to post Share on other sites
0 Houp 237 Posted January 10, 2019 Thanks for a suggestion. Something like this is planned for the future. Share this post Link to post Share on other sites
0 Igor Q. 519 Posted January 10, 2019 2 hours ago, Houp said: Thanks for a suggestion. Something like this is planned for the future. To follow up, to be able to modify zone trigger values in the editor? Share this post Link to post Share on other sites
0 Houp 237 Posted January 16, 2019 Hi, I am not sure what do you mean with that. Which values you are unable change in editor? Share this post Link to post Share on other sites
0 Igor Q. 519 Posted January 16, 2019 1 hour ago, Houp said: Hi, I am not sure what do you mean with that. Which values you are unable change in editor? I'd like to be able to modify the size and position of zone triggers within the script editor. Ex: Set zone trigger to position of player. Spawn an entity at a random point within the zone. If X condition, make the zone size Y. This kind of trigger requires setting the position of the zone trigger, the size, and possibly obtaining a random coordinate/point from within the zone. Share this post Link to post Share on other sites
0 Igor Q. 519 Posted January 16, 2019 I could write the code myself to get a random point inside a zone, but this feature wouldn't be available to most people who aren't good at math...especially for spheres... Share this post Link to post Share on other sites
0 Igor Q. 519 Posted January 16, 2019 (This is the equation using an offset formula, using a Radius of 1) Set Radius Variable = 1 Set Z = Random num 0 to 1 Set Y = Random num 0 to square root (1-Z^2) Set X = Random num 0 to square root [1 - Z^2 - Y^2 ] Random Point (x,y,z) with Radius 1 Note: To make this equation always give a point along the surface and not just inside set the last equation Set X = square root [1 - Z^2 - Y^2 ] without using *Random Num* Share this post Link to post Share on other sites
0 Houp 237 Posted January 16, 2019 Ok, you meant by "Editor" Visual scripting. That was not clear from that post. In 0.12 you will be able to mark some trigger zones dynamic and then you will be able to change their position/rotation/size with VS tiles. (you will be able to do that with trigger zones which are triggered by Players/Player team/Player role/Specific entity and Labeled entities -> last one will not be much effective for labels with a lot of entities in it but it may be useful in some cases) We will consider the other suggestion but it will not probably bee in next update. Share this post Link to post Share on other sites
Would it be possible to allow zone collision that can be enabled or disabled?
It would be useful for creating invisible blocks, boundaries, etc. (Only along the surface however)
Share this post
Link to post
Share on other sites