Good question!
Maybe you could do:
Not sure though, I never thought about it.Code:A=entity(0)
I have a simple question. If I wanted to make clear a variable I would do like A = 0, and if I wanted to clear a string i would do A = "". How do I clear an entity?
Entity 0 should be the world spawn. It will probably be valid, use -1 if anything.
Against stupidity the Gods themselves contend in vain.
-Friedrich Schiller
The flame puts me in the mood to "Do it!".
-Dart, Legend of Dragoon
Another possibility is to simply add another persist NullEntity or something, since it is never set, it will always be NULL. I'll add a function (noentity()) for returning null-entities.
That will help a lot whenever I make my own telekinesis expression.
(\__/) Expression 2 Resources: E2 Beginner's Guide | E2 Formatting Guide | E2 Function Reference | E2 Examples | Me
(='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
(")_(") Drunkie referring to an E2: "It's obvious that Chinoto made this, his coding style is all over it."
Bookmarks