Kuhe Posted October 20, 2016 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?
Kuhe Posted October 25, 2016 Author Posted October 25, 2016 Has this question been answered before or something?
Solution Noodle Posted October 25, 2016 Solution 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. TheWhitePhoenix and Smoo like this
TheWhitePhoenix Posted October 26, 2016 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
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