Skip to content
Snippets Groups Projects

Add R_IsPointInSubsector to lua baselib

Merged Lactozilla requested to merge r_ispointinsubsector into next

sample script:

addHook("MobjThinker", function(mobj)
	local sub = R_IsPointInSubsector(mobj.x, mobj.y)
	if (sub ~= nil) then
		print("inside")
	else
		print("outside")
	end
end, MT_PLAYER)
Edited by Lactozilla

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading