A_Warp with specific target actor

Moderator: GZDoom Developers

Post Reply
argv
Posts: 184
Joined: Tue Aug 30, 2016 4:47 pm

A_Warp with specific target actor

Post by argv »

A_Warp is a pretty thin wrapper around P_Thing_Warp. Now that we have ZScript, it seems sensible to expose P_Thing_Warp more directly, as well.

As a workaround, modders should be able to temporarily change one of the predefined actor pointers, call A_Warp, then change it back. That's kind of hacky, though.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: A_Warp with specific target actor

Post by Arctangent »

argv wrote:As a workaround, modders should be able to temporarily change one of the predefined actor pointers, call A_Warp, then change it back.
We should be able to, and we are.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_Warp with specific target actor

Post by Graf Zahl »

Just added. Please wait for the commit until I ran some tests.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_Warp with specific target actor

Post by Graf Zahl »

Damnit, seems I forgot to save and test again after getting an error.
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: A_Warp with specific target actor

Post by Rachael »

argv
Posts: 184
Joined: Tue Aug 30, 2016 4:47 pm

Re: A_Warp with specific target actor

Post by argv »

Thanks!
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”