#Looking towards spawn mob

1 messages · Page 1 of 1 (latest)

thin vigil
#

He will spawn like this:

cosmic oyster
#

Show code

thin vigil
cosmic oyster
#

You have been told the answer for this before btw

thin vigil
#
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
narrow scarabBOT
cosmic oyster
thin vigil
#

wdym

cosmic oyster
#

Command setspawnformob
Trigger
Set var to player's location

When you spawn the mob spawn it at that var

thin vigil
#

like this?

cosmic oyster
#

Use some common sense please

thin vigil
#

lol

#

like this?>

cosmic oyster
#

Better but still won't work

thin vigil
#

Sorry I just begin to learn skript

cosmic oyster
#

Why use a local var

thin vigil
#

so what to do?

cosmic oyster
#

A local var only exists within that trigger

cosmic oyster
#

Remove the underscore

thin vigil
cosmic oyster
#

Taa daa

#

Now spawn the mob at that var

#

Spawn creeper at var

For example

thin vigil
thin vigil
#

oh oops my mistake

#

i did on instead to

#

worked thanks