Kuhe Posted October 20, 2016 Share Posted October 20, 2016 I was wondering if there was a way to stop the friendly Npcs from following you, as its annoying when I change my playerteam to enemy and try to fight the rebels they just keep trying to move and follow me, is there anyway to change it? Link to comment
Kuhe Posted October 25, 2016 Author Share Posted October 25, 2016 Has this question been answered before or something? Link to comment
Solution Noodle Posted October 25, 2016 Solution Share Posted October 25, 2016 As far as I know, the only way you can do that is by doing a script that tell the NPCs to not follow you. In one of my maps I turned rebels into enemies by applying the following script to them: set ( "SET_PLAYER_TEAM", "TEAM_ENEMY" ); set ( "SET_ENEMY_TEAM", "TEAM_PLAYER" ); set ( "SET_BEHAVIOR_STATE", "BS_DEFAULT" ); set ( "SET_LEADER", "NULL" ); set ( "SET_CHASE_ENEMIES", "true" ); set ( "SET_LOOK_FOR_ENEMIES", "true" ); SET_LEADER "NULL" makes them stop following you. Smoo and TheWhitePhoenix like this Link to comment
TheWhitePhoenix Posted October 26, 2016 Share Posted October 26, 2016 As far as I know, the only way you can do that is by doing a script that tell the NPCs to not follow you. In one of my maps I turned rebels into enemies by applying the following script to them: set ( "SET_PLAYER_TEAM", "TEAM_ENEMY" ); set ( "SET_ENEMY_TEAM", "TEAM_PLAYER" ); set ( "SET_BEHAVIOR_STATE", "BS_DEFAULT" ); set ( "SET_LEADER", "NULL" ); set ( "SET_CHASE_ENEMIES", "true" ); set ( "SET_LOOK_FOR_ENEMIES", "true" ); SET_LEADER "NULL" makes them stop following you.This could work for me too. Thanks dude. Noodle likes this Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now