[Added] A_Warp with specific target actor

Moderators: Developers, ZDoom.org Team

A_Warp with specific target actor

Postby argv » Mon Nov 13, 2017 1:43 pm

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.
argv
 
Joined: 30 Aug 2016

Re: A_Warp with specific target actor

Postby Arctangent » Mon Nov 13, 2017 1:45 pm

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
Arctangent
squawky
 
Joined: 06 Nov 2014
Discord: SquawkyAtan#2371

Re: A_Warp with specific target actor

Postby Graf Zahl » Mon Nov 13, 2017 2:10 pm

Just added. Please wait for the commit until I ran some tests.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Re: A_Warp with specific target actor

Postby Graf Zahl » Tue Nov 14, 2017 6:48 am

Damnit, seems I forgot to save and test again after getting an error.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Re: A_Warp with specific target actor

Postby argv » Wed Nov 15, 2017 12:11 am

Thanks!
argv
 
Joined: 30 Aug 2016


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests