Export P_GetOffsetPosition & ADynamicLight::SetOffset to ZSC

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Export P_GetOffsetPosition & ADynamicLight::SetOffset to ZSC

Re: Export P_GetOffsetPosition & ADynamicLight::SetOffset to

by Graf Zahl » Fri Dec 21, 2018 5:12 am

Ah, then I'll remove it again.

Re: Export P_GetOffsetPosition & ADynamicLight::SetOffset to

by Marisa the Magician » Fri Dec 21, 2018 5:00 am

GetOffsetPosition is like Actor.Vec2Offset but using a vector rather than an actor. (In fact, Actor.Vec2Offset calls it internally)

In fact, I just realized this function is completely redundant and unnecessary. level.Vec2Offset already does this.

Re: Export P_GetOffsetPosition & ADynamicLight::SetOffset to

by Nash » Thu Dec 20, 2018 10:01 pm

Cacodemon345 wrote: P_GetOffsetPosition: Useful for people writing their own functions utilizing LineTrace to spawn objects.
Can you give a more specific example on how one would utilize this?

Re: Export P_GetOffsetPosition & ADynamicLight::SetOffset to

by Major Cooke » Thu Dec 20, 2018 9:49 am

Oooh, both of those will definitely come in handy. Especially the dynamic lights. Thanks for this! :mrgreen:

Re: Export P_GetOffsetPosition & ADynamicLight::SetOffset to

by Cacodemon345 » Thu Dec 20, 2018 9:21 am

Now with direct native JIT support.

Export P_GetOffsetPosition & ADynamicLight::SetOffset to ZSC

by Cacodemon345 » Thu Dec 20, 2018 2:37 am

Pull Request

Exports:
  • 1. P_GetOffsetPosition: Useful for people writing their own functions utilizing LineTrace to spawn objects.
    2. ADynamicLight::SetOffset: Useful for people wanting to set offsets for Actor-Based Dynlights.

Top