Players with tags

Moderator: GZDoom Developers

Post Reply
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Players with tags

Post by Cutmanmike »

I know this is possible in ACS, but i'm wondering if there would be any possible way to make players automaticly have some sort of tag? I know this means that it would require 8 spare tags for each player and that every zdoom wad must not have those 8 tags in, but surely there's some way of doing this? The only reason I want this is because i'm trying to make a weapon which effects the player and not the activator of the action special (Which is currently a new bullet puff). Any ideas? :?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Sure, assign the tid in ENTER scripts - as it has always been done! :P
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: Players with tags

Post by Cutmanmike »

cutmanmike wrote:I know this is possible in ACS
But for weapon packs and what not it's useless :(
User avatar
Shadelight
Posts: 5113
Joined: Fri May 20, 2005 11:16 am
Location: Labrynna

Post by Shadelight »

I would like this. because I'm trying to spawn a lost soul with a DEATH script.

like this:

Code: Select all

script 1 DEATH
{
thing_spawn(player_tid, t_lostsoul, 0);
print(s:"you've died and become a soul");
changemus("d_death")
}
or something like that.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

You can already do that. I'm talking about having player tags without scripts and just DECORATE.
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

Maybe some playernumber() function in expression should be enough.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”