- 5
- Posts
- 2
- Years
- Seen Nov 24, 2023
Hi guys, I was hoping someone might be able to provide me with some help?
I am wanting to have, "Trainer A" walk into a room, stop at "Trainer B", the program to run a simulated battle between the two of them (we dont need to be able to see it happen). If "Trainer A" wins they continue forward. If they lose they turn around and leave the room.
I am fine with the eventing to make them enter, and then to do the conditional of if win or if lose, then the next steps. Just not sure how to make two NPCs fight each other.
I have seen a script for that should work, however it was written for v17 and was partially updated to v19. But I am using v20, and I don't know how to go about adapting it, nor setting it up.
(broken link removed)
This is the resource, if it can be of assistance?
But really any method of making them run a simulated battle would be fantastic.
Its probably a long shot, but thought no harm in asking!
Thanks in advance.
I am wanting to have, "Trainer A" walk into a room, stop at "Trainer B", the program to run a simulated battle between the two of them (we dont need to be able to see it happen). If "Trainer A" wins they continue forward. If they lose they turn around and leave the room.
I am fine with the eventing to make them enter, and then to do the conditional of if win or if lose, then the next steps. Just not sure how to make two NPCs fight each other.
I have seen a script for that should work, however it was written for v17 and was partially updated to v19. But I am using v20, and I don't know how to go about adapting it, nor setting it up.
(broken link removed)
This is the resource, if it can be of assistance?
But really any method of making them run a simulated battle would be fantastic.
Its probably a long shot, but thought no harm in asking!
Thanks in advance.