Pryzmm Posted March 22, 2021 Share Posted March 22, 2021 I dont know how to start this off... Im using a spawner to spawn in custom mobs, but for some reason the first 3 lines of my skript cant and wont work. I don't get any errors or warns. on spawn: if last spawned entity = "pig": broadcast "&aFound Pig" Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
ztimhirsch1 Posted March 22, 2021 Share Posted March 22, 2021 Hey there, on spawn only works with mobs spawned with commands and skript. If I helped you add a reaction to my post. First Joined Oct 29 15:01 GMT 2017 VIP since 9/26/2020 Link to comment Share on other sites More sharing options...
Pryzmm Posted March 22, 2021 Author Share Posted March 22, 2021 5 hours ago, ztimhirsch1 said: Hey there, on spawn only works with mobs spawned with commands and skript. on spawn: broadcast "%last spawned entitiy%" Im doing this with spawners Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
CoolProgrammer Posted March 24, 2021 Share Posted March 24, 2021 On 3/22/2021 at 10:08 PM, AgentGamerPro said: on spawn: broadcast "%last spawned entitiy%" Im doing this with spawners Try using event-entity? Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now