Fake Entity - Entity ID (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[the] (fake|packet) entity [field] [entity] id of %packetentity%Description
The numeric network entity ID. Read-only. Value type: Number. Applies to entity and supported subclasses. Read-only.
Examples
command /who-am-i:
trigger:
set {_entity} to a new fake zombie entity:
location: location of player
viewers: player
set {_value} to fake entity entity id of {_entity}
send "%{_value}%" to player
wait 5 seconds
kill fake entity {_entity}