Search the Community
Showing results for tags 'Properties'.
Hello, added a Zombie Model from the Zombie Character Pack and set the Properties up exactly like the Monsters at the Demo "07-AI and Events.map" using the "MonsterAI.lua" script. What else do I have to set up, to make the Zombie attack the Player, approaching a certain distance? My Zombie does not react, only when I do stand infront of it and shoot at it, it reaches after me (one left, one right, allover again) and hurts me. When I do walk away, it stopps. Not fllowing me for example. How Do I make it attack me continously and beeing a death-scaring-danger? Does anyone have a
First of all: this might be pretty basic knowlege, but i didnt find any answers to this in the documentations. (its possible that i just didnt find it) How can i access a entitys properties form within another entitys script? Let me give you a example: I want to Point a entity at another entity. I would think that this would work: (this line is in the script of the entity i want to point at another entity) self.entity:Point(exampleEntity.entity) If i try to execute it, i get the error message: self.entity:Point(PlayerPos.entity) Let me give you another example, i want to