26
General Discussion / AI script to tell a monster to die if its MP reach 0 ?
« on: 2010-07-02 21:57:09 »
Urgh, I never really know if these kinds of topics go in Game Tweaking or General... ...Feel free to move it if I made the wrong choice.
Anyways, this topic was brought up before, but a long time ago. I tried to search for the info, but it's nowhere to be found (I think they got purged when a bunch of AI-related posts, in the Proud Clod thread, were deleted). And I lost the info I need.
Basically, I need help in coming-up with an AI code that would make an enemy die if it has no MP left. I remember that someone found a code, and it worked - even though all enemies in the formation that shared this code also died, when one of them was MP-killed. This is no problem though, I already planned to only make MP-killable, enemies that appear only one at a time in a formation (I edited my scenes' formations to that end).
I thought I saved the info on my comp, but the only code I found is this :
But I tried to type this in Post-attack (with an older version of PrC, the newest versions being plagued with an Out of range exception when you try to add more than one line), and it didn't work. Once again, any help would be appreciated.
Anyways, this topic was brought up before, but a long time ago. I tried to search for the info, but it's nowhere to be found (I think they got purged when a bunch of AI-related posts, in the Proud Clod thread, were deleted). And I lost the info I need.
Basically, I need help in coming-up with an AI code that would make an enemy die if it has no MP left. I remember that someone found a code, and it worked - even though all enemies in the formation that shared this code also died, when one of them was MP-killed. This is no problem though, I already planned to only make MP-killable, enemies that appear only one at a time in a formation (I edited my scenes' formations to that end).
I thought I saved the info on my comp, but the only code I found is this :
Code: [Select]
02 2060
03 4180
80
60 00
40
70 0035
12 2060
10 4022
80
60 00
90
12 2060
10 4020
80
60 00
90
12 2060
10 4023
80
60 00
90
12 2060
10 4024
80
60 00
90
73
But I tried to type this in Post-attack (with an older version of PrC, the newest versions being plagued with an Out of range exception when you try to add more than one line), and it didn't work. Once again, any help would be appreciated.