- Joined
- Dec 11, 2014
- Messages
- 93
Hey all, I wanted to know what the difference between the two natives in the title are, and how they can be used properly.
I know that GetLastCommand interacts with your AI script to basically change what's going on (whether you want to use it to start the AI or shift the AI to a new tier) but what about GetLastData? Is it the same as the prior one, just it takes the data integer you send in the command, instead of the actual command integer?
If so could you use GetLastCommand for one thread for when you need to change something, and GetLastData for a different thread? Or am I totally off base here?
Ultimately what I'm trying to do is have two separate conditions if you will in my AI script to base on what my AI does. I have it set that their tier is equal to the last command sent, but I also want their target to change up based on who is alive and who isn't. Can I set that up to work off GetLastData?
I know that GetLastCommand interacts with your AI script to basically change what's going on (whether you want to use it to start the AI or shift the AI to a new tier) but what about GetLastData? Is it the same as the prior one, just it takes the data integer you send in the command, instead of the actual command integer?
If so could you use GetLastCommand for one thread for when you need to change something, and GetLastData for a different thread? Or am I totally off base here?
Ultimately what I'm trying to do is have two separate conditions if you will in my AI script to base on what my AI does. I have it set that their tier is equal to the last command sent, but I also want their target to change up based on who is alive and who isn't. Can I set that up to work off GetLastData?