Search found 4 matches
- Sun Dec 28, 2014 8:17 pm
- Forum: Modding help
- Topic: Kill player
- Replies: 3
- Views: 6658
Re: Kill player
I think I figured out what exactly the problem is, I am killing the player after he deleted the bridge he was standing on. However I think the player switches to god mode or something when he falls into the water (if you fall in, you become invisible and can fly around and still remove things), and ...
- Sun Dec 28, 2014 1:06 pm
- Forum: Modding help
- Topic: Kill player
- Replies: 3
- Views: 6658
Kill player
I want the player to die, now I should be able to call the die method, but I am not sure how to reach it, is it part of character? if so: game.player.character.die() gives: attempt to index character, no such field (nil value) how do I call the die method? Or should I kill the player in a different ...
- Wed Dec 24, 2014 11:29 pm
- Forum: Modding help
- Topic: Redraw screen-tiles
- Replies: 2
- Views: 1259
Re: Redraw screen-tiles
... good point, really dumb I hadn't thought of updating, and I seem to be well behind :p alright, thanks, I'll try that!
EDIT: jup, that did the trick! At least I learned to check this next time I have a question? Thanks!
EDIT: jup, that did the trick! At least I learned to check this next time I have a question? Thanks!
- Wed Dec 24, 2014 11:23 pm
- Forum: Modding help
- Topic: Redraw screen-tiles
- Replies: 2
- Views: 1259
Redraw screen-tiles
I am probably overlooking something, but when I set a tile using game.settiles, it does not update the image of that tile untill I redraw the screen, by either walking away or opening and closing my map. Is there something I need to call te redraw the area? I tried charting it, but that only updates...