hostile_friend
This code needs to be removed at some point as it doesn't actually utilize the AI.
Procs | |
befriend | Befriends someone |
---|---|
check_altclicked | Someone alt clicked us, see if they're someone we should show the radial command menu to |
check_point | Someone we like is pointing at something, see if it's something we might want to interact with (like if they might want us to fetch something for them) |
check_verbal_command | One of our friends said something, see if it's a valid command, and if so, take action |
command_radial | Show the command radial menu |
on_examined | Someone is looking at us, if we're currently carrying something then show what it is, and include a message if they're our friend |
set_command_mode | Whether we got here via radial menu or a verbal command, this is where we actually process what our new command will be |
unfriend | Someone is being mean to us, take them off our friends (add actual enemies behavior later) |
Proc Details
befriend
Befriends someone
check_altclicked
Someone alt clicked us, see if they're someone we should show the radial command menu to
check_point
Someone we like is pointing at something, see if it's something we might want to interact with (like if they might want us to fetch something for them)
check_verbal_command
One of our friends said something, see if it's a valid command, and if so, take action
command_radial
Show the command radial menu
on_examined
Someone is looking at us, if we're currently carrying something then show what it is, and include a message if they're our friend
set_command_mode
Whether we got here via radial menu or a verbal command, this is where we actually process what our new command will be
unfriend
Someone is being mean to us, take them off our friends (add actual enemies behavior later)