Entities 3256d
Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map. 5rw6w
- Info - specify locations, areas or behaviors
- Env - environmental/visual stuff
- Gen - generate stuff (particle effects)
- Func - have a function which influences the game
- Trigger - trigger and control other entities
Category: env (14) 246l
ID 21 - Env_Item (Item) 161z2
Info 36691t
Spawns a certain item on the map at the position of this entity.
Values / Properties 15u3r
The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.
- ints[0]=item type
- ints[1]=spawn mode (0=one time, 1=instant/infinity, 2=every x seconds, 3=on trigger only)
- ints[2]=spawn delay (seconds, for spawn mode 2)