Gaddhuve
Member
- Joined
- May 6, 2011
- Messages
- 76
- Solutions
- 1
- Reaction score
- 19
Hello,
Im learning lua and came a cross a line which I am not sure how it should be written correctly. Would appriciate if someone could take a look at it.
So basically you step on a tile and after x seconds an NPC will appear, Im writing it like this but it wont work.
Thanks in advance!
Im learning lua and came a cross a line which I am not sure how it should be written correctly. Would appriciate if someone could take a look at it.
So basically you step on a tile and after x seconds an NPC will appear, Im writing it like this but it wont work.
Code:
addEvent(doCreateNPC, 3000, t.NPC, t.pos)
Thanks in advance!