- Joined
- Jul 12, 2010
- Messages
- 1,737
Hello everybody, I was testing locally changing Ability Descriptions and Icons and it seems to work BUT I want to be 100% it doesn't desync before I start mass implementing it into my map.
I also tested this on LAN and it didn't cause any desyncs but again I want to be 100% sure because I was super surprised that these triggers seem to be asynchronous.

I attached the test map if anybody wants to give it a go.
-
Chat
-
Events
-
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to -1
-
-
Then - Actions
-
Ability - Set Tooltip of Ability Test 1 to Weapon +2 for level 0
-
Ability - Set Extended Tooltip of Ability Test 1 to Testing New Description|n|nNew Trigger for level 0
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to -2
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Ability - Set Tooltip of Ability Test 1 to Weapon +3 Local for level 0
-
Ability - Set Extended Tooltip of Ability Test 1 to Testing New Description|n|nNew Trigger Local Player for level 0
-
Custom script: endif
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Entered chat string) Equal to -3
-
-
Then - Actions
-
Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
-
Ability - Set Icon of Ability Test 2 to ReplaceableTextures\CommandButtons\BTNMoonArmor.blp
-
Ability - Set Tooltip of Ability Test 2 to Armor +5 for level 0
-
Ability - Set Extended Tooltip of Ability Test 2 to Your Hero now has an amazing armor! for level 0
-
Custom script: endif
-
-
Else - Actions
-
-
-
-
-
-
-
I also tested this on LAN and it didn't cause any desyncs but again I want to be 100% sure because I was super surprised that these triggers seem to be asynchronous.

I attached the test map if anybody wants to give it a go.