Login
|
request feature
|
projects
|
add project
|
search
Search
:
Features
Projects
Comments
Users
Search only in EventScripts
Cancel
es.exists('entity', <entity number>)
(
EventScripts
)
17 points
- posted 1483 days ago by
Jeff
- status:
Active
-
3 comments
watch
embed this
Tags:
tag1
Basicly is checks to see if an entity exists with the given number. Return 1/0
~J3ff
comments
JoeyT2008
posted on 2008-02-04 15:37:44
Thanks J3ff, was talking about it in IRC.
permalink
freddukes
posted on 2008-02-11 17:51:57
This would be cool rather than creating lots of es_createentitylist etc
permalink
SuperDave
posted on 2008-09-18 17:42:39
This isn't perfect, but:
does
entity
exist = bool(es.createentitylist(index))
permalink
JoeyT2008 posted on 2008-02-04 15:37:44