- Joined
- Feb 3, 2009
- Messages
- 3,292
In the bellow trigger, for some reason the transparency only shows for some people, in most cases for no one.
It works perfectly in single player but in multiplayer there are issues.
The variables are definitely not the issue, as the debug action above always whows the correct results.
Execution trigger
It works perfectly in single player but in multiplayer there are issues.
The variables are definitely not the issue, as the debug action above always whows the correct results.
Execution trigger
-
RGBA
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Unit-type of (Target unit of ability being cast)) Not equal to Stone Wall --
- (Unit-type of (Target unit of ability being cast)) Not equal to Stone Wall Connector
- (Unit-type of (Target unit of ability being cast)) Not equal to Stone Wall I
- (Unit-type of (Target unit of ability being cast)) Not equal to Sunken Ruins Wall /
- (Unit-type of (Target unit of ability being cast)) Not equal to Sunken Ruins Wall \
- (Unit-type of (Target unit of ability being cast)) Not equal to Sunken Ruins Wall --
- (Unit-type of (Target unit of ability being cast)) Not equal to Sunken Ruins Wall |
- (Unit-type of (Target unit of ability being cast)) Not equal to Wooden Spikes Wall --
- (Unit-type of (Target unit of ability being cast)) Not equal to Wooden Spikes Wall /
- (Unit-type of (Target unit of ability being cast)) Not equal to Wooden Spikes Wall \
- (Unit-type of (Target unit of ability being cast)) Not equal to Wooden Spikes Wall |
- (Unit-type of (Target unit of ability being cast)) Not equal to Icecrown Wall --
- (Unit-type of (Target unit of ability being cast)) Not equal to Icecrown Wall /
- (Unit-type of (Target unit of ability being cast)) Not equal to Icecrown Wall \
- (Unit-type of (Target unit of ability being cast)) Not equal to Icecrown Wall |
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate (O) (H)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate (O) (V)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate -- (C) (H)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate | (C) (V)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate \ (O) (D2)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate \ (C) (D2)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate / (O) (D1)
- (Unit-type of (Target unit of ability being cast)) Not equal to Gate / (C) (D1)
- (Unit-type of (Target unit of ability being cast)) Not equal to Magical Prison (Active) [Activated]
- (Unit-type of (Target unit of ability being cast)) Not equal to Magical Prison (Inactive)
-
Conditions
-
And - All (Conditions) are true
-
Actions
-
Set TempInt = (Player number of (Owner of (Triggering unit)))
-
If - Conditions
- (Ability being cast) Equal to Set RGBA
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Target unit of ability being cast)) Equal to (Owner of (Triggering unit))
-
Then - Actions
- Game - Display to (All players) for 5.00 seconds the text: ((Alpha[ + ((String(TempInt)) + ] = )) + (String(RGBA[TempInt])))
- Animation - Change (Target unit of ability being cast)'s vertex coloring to ((Real(RGBR[TempInt]))%, (Real(RGBG[TempInt]))%, (Real(RGBB[TempInt]))%) with (Real(RGBA[TempInt]))% transparency
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
Set TempInt = (Player number of (Owner of (Triggering unit)))
-
Events
-
Set Alpha Val
- Events
- Game - (it's added from a seperate trigger)
- Conditions
-
Actions
- Set RGBA[(Player number of (Triggering player))] = (Integer((Substring((Entered chat string), 7, 10))))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RGBA[(Player number of (Triggering player))] Greater than 100
-
Then - Actions
- Set RGBA[(Player number of (Triggering player))] = 0
- Else - Actions
-
If - Conditions
- Game - Display to (Player group((Triggering player))) for 5.00 seconds the text: (RGBA = + (String(RGBA[(Player number of (Triggering player))])))
Last edited: