ID:172341
![]() May 27 2004, 1:07 pm
|
|
OK...I can get monsters to move towards a user, but...how do would you code AI that makes it so a monster will only start attacking you AFTER you've attacked it, and won't stop until it's dead...if you could...please post a little code snippet...thanks in advance.
|
Copyright © 2025 BYOND Software.
All rights reserved.
Set a var that checks if the player attacked the monster. Then, when you attack, check if the type is a monster. If it is, set the var to 1. Then create a proc to check if the var is one, then in that same proc code your attacking.