[DECORATE] Making a Friendly Monster that only follow his master/player

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
fr blood
Frequent Poster Miles card holder
Posts: 995
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

[DECORATE] Making a Friendly Monster that only follow his master/player

#1

Post by fr blood » Sat Apr 23, 2016 3:02 pm

Hi everyone.

How could I make a Friendly Monster that will act as only following the player who summoned it and ignore anything else?

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

[DECORATE] Re: Making a Friendly Monster that only follow his master/player

#2

Post by Ænima » Sat Apr 23, 2016 4:59 pm

Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

[DECORATE] Re: Making a Friendly Monster that only follow his master/player

#3

Post by SwordGrunt » Sat Apr 23, 2016 5:18 pm

What do you have in mind for this monster's behavior? Will it never attack, only follow the player around no matter what? Can it be damaged and/or killed?

Thing_SetGoal is probably a good option but what I'd do is create a hostile monster with NOTARGETSWITCH and no attack states.

User avatar
fr blood
Frequent Poster Miles card holder
Posts: 995
Joined: Wed Mar 06, 2013 4:04 pm
Location: France

[DECORATE] Re: Making a Friendly Monster that only follow his master/player

#4

Post by fr blood » Sat Apr 23, 2016 6:10 pm

I would have used Thing_SetGoal if I wasn't already using custom ID for players.

I would like the monster to follow the player without attacking and being ignored by others.
I didn't think of using a non friendly monster with +NOTARGETSWITCH, also +NEVERTARGET could help if Zand 3.0 support I'll try it out.

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

[DECORATE] Re: Making a Friendly Monster that only follow his master/player

#5

Post by SwordGrunt » Sat Apr 23, 2016 9:51 pm

fr blood wrote:I would have used Thing_SetGoal if I wasn't already using custom ID for players.

I would like the monster to follow the player without attacking and being ignored by others.
I didn't think of using a non friendly monster with +NOTARGETSWITCH, also +NEVERTARGET could help if Zand 3.0 support I'll try it out.
You shouldn't need NEVERTARGET unless you have friendly monsters. In that case, it'll be complicated to prevent them from targetting the hostile monster. NOTARGET won't really do anything considering this monster does not attack, so no others will ever turn on it.

Post Reply