Originally Posted by Glowackos
Skills with the same order id will go into cd simultaneously, however this is messy so avoid it.
The only proper way of making skills go into cd is to cast them.
Just make the skills dummy abilities (they themselves do nothing when cast, but then you have code that detects when they are cast and this code does everything you want). When one of the abilities is cast, immediately cast the other ability, using a bool to prevent the second ability's code from executing.
Also, this belongs in the programming forum.
Skills with same order id do not go into cd together. I have tried it, only one goes into cooldown at one time.
So, the second method seems to be the only one, but I see some problems. First of all, the cast point of the unit should be 0, otherwise the player can cancel the ability from being cast (as well as stuns can). Also, it will cause problems if the unit gets silenced after casting first ability (eg. Silencer's aura).