ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[ACS] SetActivatorToTarget() for dead actors.

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs
View previous topic :: View next topic  
Author Message
Maikl_Russia
has entered the game!


Joined: 18 Jul 2005
Location: RU

PostPosted: Sat Sep 26, 2015 8:57 am    Post subject: [ACS] SetActivatorToTarget() for dead actors. Reply with quote

In usage of SetActivatorToTarget wrote:

.....
If the tid being referenced is something that has died, the new activator is its killer.
.....

In ZDoom SetActivatorToTarget() works like it described in usage.
In ZDaemon SetActivatorToTarget() returns for dead actor the same target, which it was when actor was alive.

Easy example. SetActivatorToTarget_test.wad

Let Imp and Demon will fight each other. During their fight kill one of them. In ZDoom SetActivatorToTarget() (in the script, which is called by dead monster) will set new activator - Player, in ZDaemon will no change activator - other monster.
Back to top
View user's profile Send private message
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Mon Sep 28, 2015 10:31 am    Post subject: Reply with quote

Is this the issue that bugs out my zw.wad? Shocked
Back to top
View user's profile Send private message Send e-mail
Maikl_Russia
has entered the game!


Joined: 18 Jul 2005
Location: RU

PostPosted: Wed Dec 30, 2015 9:16 am    Post subject: Reply with quote

This feature may be useful in zdoom wars.
Back to top
View user's profile Send private message
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Tue Jan 30, 2018 8:44 am    Post subject: Reply with quote

Fixed. Thanks Maikl.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group