Half-Life: Alyx

Half-Life: Alyx

Expand the world of Half-Life: Alyx
Browse the Half-Life: Alyx Workshop to find the best new addons created by the community, or install the free tools yourself and start making your own Half-Life: Alyx content.
Learn More
How to make enemy not attack player and become player`s ally?(half life alyx)
How to make enemy not attack player and become player`s ally?(half life alyx)
< >
Showing 1-3 of 3 comments
Schranzi 10 Dec, 2022 @ 4:45am 
https://developer.valvesoftware.com/wiki/Ai_relationship

- give your Playerstart a Name how you like (as example myplayer)

- place a Combine in your Map and give him a Name like combine1 or how you want to name him

- place an entity in your map called ai_relationship and give it a name too (example : relationship)


In the Settings of the ai_relationship under spawnflags add

Subject NPC .... (your combine soldier or in this example combine1)
Target Player ....(your Playerstart or in this example myplayer)

and for sure check "start active". Under Disposition you can choose the Disposition (Hate, Fear,Like, Neutral) and below the Radius where the disposition is to be executed.

Thats it
Last edited by Schranzi; 10 Dec, 2022 @ 6:28am
小白的逆袭 1 12 Dec, 2022 @ 8:59am 
Originally posted by Schranzi:
https://developer.valvesoftware.com/wiki/Ai_relationship

- give your Playerstart a Name how you like (as example myplayer)

- place a Combine in your Map and give him a Name like combine1 or how you want to name him

- place an entity in your map called ai_relationship and give it a name too (example : relationship)


In the Settings of the ai_relationship under spawnflags add

Subject NPC .... (your combine soldier or in this example combine1)
Target Player ....(your Playerstart or in this example myplayer)

and for sure check "start active". Under Disposition you can choose the Disposition (Hate, Fear,Like, Neutral) and below the Radius where the disposition is to be executed.

Thats it


Thank you very much! Finally, it works!
Schranzi 13 Dec, 2022 @ 3:43am 
Originally posted by 小白的逆袭:
Originally posted by Schranzi:
https://developer.valvesoftware.com/wiki/Ai_relationship

- give your Playerstart a Name how you like (as example myplayer)

- place a Combine in your Map and give him a Name like combine1 or how you want to name him

- place an entity in your map called ai_relationship and give it a name too (example : relationship)


In the Settings of the ai_relationship under spawnflags add

Subject NPC .... (your combine soldier or in this example combine1)
Target Player ....(your Playerstart or in this example myplayer)

and for sure check "start active". Under Disposition you can choose the Disposition (Hate, Fear,Like, Neutral) and below the Radius where the disposition is to be executed.

Thats it


Thank you very much! Finally, it works!

No Problem ;)
< >
Showing 1-3 of 3 comments
Per page: 1530 50