new character member
Posted: Sun Dec 21, 2008 8:18 am
I just coded some text commands with loops and targets in them, and I found out that while you have the loop and target still active you can use another text command at the same time.
That's why I'm suggesting a new character member as character.Command or character.textcmd or similar which return a boolean true/false if the character has a text command script active.
For now im fixing this problem with using an ObjProperty check in every single textcmd, but it should be alot more simple by having a member, because then you shouldn't have to Erase that property together with every return in the command.
I know this should be possible to do with a speech hook and checking if the first ASCII letter is 46 or the first letter is . but this is a suggestion.
That's why I'm suggesting a new character member as character.Command or character.textcmd or similar which return a boolean true/false if the character has a text command script active.
For now im fixing this problem with using an ObjProperty check in every single textcmd, but it should be alot more simple by having a member, because then you shouldn't have to Erase that property together with every return in the command.
I know this should be possible to do with a speech hook and checking if the first ASCII letter is 46 or the first letter is . but this is a suggestion.