MantisBT - Zandronum
View Issue Details
0004035Zandronum[All Projects] Suggestionpublic2022-09-11 19:002024-03-02 18:26
Basinga 
 
normalfeaturealways
closedduplicate 
MicrosoftWindowsXP/Vista/7
3.1 
 
0004035: Allow monsters summoned by players to have AAPTR_MASTER point to their master player
Currently it's up to some ACS and TID trickery to hook up the monster to its player owner.

It'd be great if monsters just had the AAPTR_MASTER pointer point at the player.

Players already get kills from summoned enemies so surely there's a link to them, so why not allow for monsters and players to be linked better and allow for more control?
How it currently goes in DECORATE:

1.Use a_Spawnitemex, using a friendly monster as the actor parameter and SXF_SETMASTER as a flag.
2.Have said monster try to do anything with the AAPTR_MASTER flag (a_giveinventory, A_jumpifinventory, etc)
3.Nothing ever comes out of it

It only works when it's a monster spawning other monsters with the flag.
No tags attached.
duplicate of 0001969confirmed  Backport Minor Fix/Change to SXF_SETMASTER from ZDoom Commit 7a62459 
Issue History
2022-09-11 19:00BasingaNew Issue
2024-03-02 18:24Ru5tK1ngRelationship addedrelated to 0001969
2024-03-02 18:25Ru5tK1ngRelationship deletedrelated to 0001969
2024-03-02 18:25Ru5tK1ngRelationship addedduplicate of 0001969
2024-03-02 18:26Ru5tK1ngNote Added: 0023254
2024-03-02 18:26Ru5tK1ngStatusnew => closed
2024-03-02 18:26Ru5tK1ngResolutionopen => duplicate

Notes
(0023254)
Ru5tK1ng   
2024-03-02 18:26   
Closing ticket since it's a duplicate of 1969. SXF_SETMASTER would have to be backported most likely in 4.0