Search found 3 matches

Return to advanced search

Re: Post your modding questions here

D00Med wrote:Is this what you are looking for?:
get_look_dir()


Can you provide an example of get_look_dir()? I'm having a bit of trouble understanding how to use it
by teh_newbz
Wed Jul 06, 2016 08:19
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 972662

Re: Post your modding questions here

How can I get the direction the player is facing as X+/X-/Z+/Z-?

I looked into get_look_dir() but I couldn't find any examples.
by teh_newbz
Wed Jul 06, 2016 07:33
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 972662

Re: Post your modding questions here

Why is player:getpos() returning nil? Whenever I try to use player:getpos() the game crashes with `attempt to call getpos a nil value` The code minetest.register_craftitem("magic_mod:summon_monster_stone", { description = "Summon a stone monster", inventory_image = "magic_mo...
by teh_newbz
Sat Jul 02, 2016 10:58
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 972662

Return to advanced search

cron