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

Using ExprXOf in spawn effect with variable doesn't work #4296

Closed
1 task done
LowScarlet opened this issue Aug 21, 2021 · 2 comments
Closed
1 task done

Using ExprXOf in spawn effect with variable doesn't work #4296

LowScarlet opened this issue Aug 21, 2021 · 2 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@LowScarlet
Copy link

Skript/Server Version

[14:50:59 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[14:50:59 INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[14:50:59 INFO]: [Skript] Server Version: git-Paper-189 (MC: 1.17.1)
[14:50:59 INFO]: [Skript] Skript Version: 2.6-beta2-nightly-8be117e
[14:50:59 INFO]: [Skript] Installed Skript Addons:
[14:50:59 INFO]: [Skript]  - Skellett v1.9.11 (https://forums.skunity.com/resources/skellett.24/)
[14:50:59 INFO]: [Skript]  - skript-gui v1.3-alpha3-nightly-66bb8cc (https://github.com/APickledWalrus/skript-gui)
[14:50:59 INFO]: [Skript]  - skript-yaml v1.4
[14:50:59 INFO]: [Skript]  - HolographicDisplaysAddon v1.0.0b
[14:50:59 INFO]: [Skript]  - skRayFall v1.9.26 (https://sk.rayfall.net/)
[14:50:59 INFO]: [Skript]  - SkBee v1.11.2 (https://github.com/ShaneBeee/SkBee)
[14:50:59 INFO]: [Skript]  - skript-placeholders v1.5.1 (https://github.com/APickledWalrus/skript-placeholders)
[14:50:59 INFO]: [Skript]  - AdvancementsAddon v1.0.0
[14:50:59 INFO]: [Skript]  - DiSky v2.2 (https://disky.itsthesky.info/)
[14:50:59 INFO]: [Skript]  - skDragon v0.17
[14:50:59 INFO]: [Skript]  - skUtilities v0.9.2 (https://tim740.github.io/)
[14:50:59 INFO]: [Skript]  - skript-reflect v2.2.2-dev (https://github.com/TPGamesNL/skript-reflect)
[14:50:59 INFO]: [Skript]  - Reqn v1.2.4
[14:50:59 INFO]: [Skript]  - SkQuery v4.1.5
[14:50:59 INFO]: [Skript]  - Skript-Paper v1.3.0 (https://github.com/ShaneBeee/Skript-Paper)

Bug Description

can't spawn entity from a variable

Expected Behavior

spawn a entity

Steps to Reproduce

This code not work

on command "testy99":
	set {_l} to player's location
	set {_e} to "zombie" parsed as entitytype
	spawn 1 of {_e} at {_l}

but this code work

on command "testy99":
	set {_l} to player's location
	spawn 1 of zombie at {_l}

Errors or Screenshots

Replace this text with your paste link or errors/screenshots/videos.

Other

No response

Agreement

  • I have read the guidelines above and confirm I am following them with this report.
@LowScarlet
Copy link
Author

this can be solved with spawn 1 of type of {_e} at {_l} but the custom data on the variable may be useless if the variable is an entity whose data has been changed

@TPGamesNL TPGamesNL changed the title CAN'T SPAWN ENTITY FROM A VARIABLE!! Using ExprXOf in spawn effect with variable doesn't work Aug 21, 2021
@TPGamesNL TPGamesNL added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. labels Aug 21, 2021
@TPGamesNL
Copy link
Member

Please refrain from making issues with all uppercase titles

@TPGamesNL TPGamesNL added PR available Issues which have a yet-to-be merged PR resolving it completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

3 participants