#Looking towards spawn mob
1 messages · Page 1 of 1 (latest)
Show code
You have been told the answer for this before btw
on load:
set {drownedSpawned} to drowned
kill all drowneds
set {drownedSpawned} to false
every 1 second in world "world_the_end":
if {drownedSpawned} is false:
set {drownedSpawned} to true
spawn 1 of drowned looking towards at location(82.483, 63.06250, 1.507, world "world_the_end")
on death:
if display name of victim is "&c&lZombie Knight":
set {drownedSpawned} to false
cancel drops
give attacker wither rose named "<##23242c>Z<##33363d>o<##525052>m<##636564>b<##404443>i<##23242c>e <##33363d>Ro<##525052>se"
send "<##525052>&l-----------+---------" to all players
send "" to all players
send "" to all players
send "<##525052>&lZombie Knight &c&lhas been killed bye %attacker%!" to all players
send "" to all players
send "" to all players
send "<##525052>&l-----------+---------" to all players
on spawn of drowned:
send "<##525052>&l-----------+---------" to all players
send "" to all players
send "" to all players
send "<##525052>&lZombie Knight &c&lhas been spawned!" to all players
send "" to all players
send "" to all players
send "*<##525052>&l-----------+---------" to all players
Easiest way is to set a var yourself and spawn them there
wdym
Command setspawnformob
Trigger
Set var to player's location
When you spawn the mob spawn it at that var
?
Use some common sense please
Better but still won't work
Sorry I just begin to learn skript
Why use a local var
so what to do?
A local var only exists within that trigger
?
?
oh oops my mistake
i did on instead to
worked thanks