function spawnGunnerMob(loc: location) :: entity: spawn zombie at {_loc} set {_entity} to last spawned entity while {_entity} is alive: if {_entity} is not alive: broadcast "test" exit 1 sections
function spawnGunnerMob(loc: location) :: entity: spawn zombie at {_loc} set {_entity} to last spawned entity while {_entity} is alive: if {_entity} is not alive: broadcast "test" exit 1 sections
mobをスポーンさせ、while aliveで生きている間の処理をする関数です {_entity}が死んでもwhileがとまりません… test も表示されてないので