That trigger function (among the others) will probably require higher patches of WC3. You need to update your game to at least 1.31 or go straight to 2.0.3 (if you are desired to play online through Battle.net). After that, use the "Search For Text" option and then use the keyword "cooldown" to find that supposed trigger function inside the Trigger Editor.
Also, I'm very ambiguous about someone who necro-posted this question:
How do I update the World Editor? I see different version on the game and the editor :S Is there a patch update on this site?
View attachment 545199
Old version of World Editor
someone had the same issue, still I cant find an answer to "how to upgrade World Editor"
If you go to "Help" -> "About World Editor", you should see the current version of your WE you are currently using:
Mine is 1.29.2 (6060). Since you are using the older patches, I'm going to assume that your version is 1.26 (6059).
Also, you can find the actual game version in the "File Properties" of both "Warcraft III.exe" and "World Editor.exe" (under "File Version"):
Remember that there are only 2 important (and legitimate) Warcraft III EXE files that are currently supported by Blizzard: "Warcraft III.exe" and "World Editor.exe". The "Frozen Throne.exe" (and even "war3.exe" and "worldedit.exe") was from the legacy versions and no longer being supported due to both ROC and TFT clients being merged with the higher patches. These two files can be found under "retail\x86_x64" folder, provided you have the latest patch from the official Battle.net app (in that case, Reforged client).
ok then to make my map playable I will stick with my version - but still, I have no idea how to solve the cooldown problem :/
I highly suggest removing your existing Warcraft III installation files and try installing a more, up-to-date version of the game from the Battle.net as Uncle mentioned earlier (buying the game legitimately with a full access to both Classic and Reforged assets is recommended). Do NOT use the old trick one, where you have to click on "Battle.net" button in-game, as this one might not work anymore.
The game is NOT free, what you may have heard is that using the ONLY ROC key will also enable the TFT expansion for free since 1.30.2, and the ability to use SD-only graphics since 1.32. To simplify, you still need at least ROC key (must be legit), but buying the full "Reforged" would work.
I haven't played Reforged just yet, but it's still a good point to mention about missing features in WE.