rllyguy Posted January 18, 2013 Share Posted January 18, 2013 How do you make the actor hostile to the player in SCM Scripting? In otherwords, the actor will kill the player if he comes into his sight. Link to comment Share on other sites More sharing options...
Deji Posted January 18, 2013 Share Posted January 18, 2013 077A: set_char_relationship [email protected] relationship PED_HATE to_ped_type PEDTYPE_PLAYER10709: add_char_decision_maker_event_response [email protected] event EVENT_ACQUAINTANCE_PED_HATE task TASK_COMPLEX_KILL_PED_ON_FOOT respect 0.0 hate 0.0 like 0.0 dislike 0.0 in_car 0 on_foot 1 See here for the constants. Link to comment Share on other sites More sharing options...
rllyguy Posted January 19, 2013 Author Share Posted January 19, 2013 Thanks for the quick reply Link to comment Share on other sites More sharing options...
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