Scripts / read out properties like name of entity from lua

Author
Message
mvdhoning
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location:
Posted: 9th Mar 2015 17:56
i wanted to show text on entering a trigger zone, but dont want to make a script for each text.

so i thought what if i could show the name of the entity for that.

but i have no clue how to read the name of an entity
or how to distinguish one trigger zone from the other without assigning different lua scripts.

also i would be nice if there was something like custom entity properties so i could add an descript field to the entity properties and use that from lua
PM
Avram
GameGuru TGC Backer
18
Years of Service
User Offline
Joined: 3rd Sep 2006
Location: Serbia
Posted: 10th Mar 2015 18:29
Entity names are not available in the LUA yet

Login to post a reply

Server time is: 2024-12-21 15:00:49
Your offset time is: 2024-12-21 15:00:49