SBARINFO
Moderator: GZDoom Developers
-
Nash
-

- Posts: 17505
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: SBARINFO
Because in most cases, player 1 having a TID of 0 isn't very useful (0 means activator in a lot of functions).
-
Blzut3
-

- Posts: 3215
- Joined: Wed Nov 24, 2004 12:59 pm
- Operating System Version (Optional): Kubuntu
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: SBARINFO
Is there something wrong with using [wiki]PlayerNumber[/wiki]() instead of [wiki]ActivatorTID[/wiki]()? I still don't see the use.
-
Nash
-

- Posts: 17505
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: SBARINFO
You know what, forget what I said. I guess I really pulled my hair last night trying to figure out how to make my monsters award the players points in their death states without using inventory items (I had a global array score[] which was supposed to keep track of player scores).
I resorted to A_GiveTarget in the monsters' death states...
I resorted to A_GiveTarget in the monsters' death states...