Ich hab ma eine in Battlefield 1942 geschafft. Voll geil war das Teil :(.
Druckbare Version
Ich liebe Gmod :gmod:.
Diese Emotion musst mal raus :D.
Nur ein Trigger meiner Map..Code:Answered
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Player - Player 2 (Blue) types a chat message containing <Empty String> as A substring
Player - Player 3 (Teal) types a chat message containing <Empty String> as A substring
Player - Player 4 (Purple) types a chat message containing <Empty String> as A substring
Player - Player 5 (Yellow) types a chat message containing <Empty String> as A substring
Player - Player 6 (Orange) types a chat message containing <Empty String> as A substring
Player - Player 7 (Green) types a chat message containing <Empty String> as A substring
Player - Player 8 (Pink) types a chat message containing <Empty String> as A substring
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Player - Player 1 (Red) skips a cinematic sequence
Player - Player 2 (Blue) skips a cinematic sequence
Player - Player 3 (Teal) skips a cinematic sequence
Player - Player 4 (Purple) skips a cinematic sequence
Player - Player 5 (Yellow) skips a cinematic sequence
Player - Player 6 (Orange) skips a cinematic sequence
Player - Player 7 (Green) skips a cinematic sequence
Player - Player 8 (Pink) skips a cinematic sequence
Conditions
Has_Answered[(Player number of (Triggering player))] Equal to 0
Actions
Special Effect - Create a special effect at (Position of Units[(Player number of (Triggering player))]) using Abilities\Spells\Orc\SpiritLink\SpiritLinkTarget.mdl
Set Special_Effect[(Player number of (Triggering player))] = (Last created special effect)
-------- String --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Right_Answer Not equal to Empty String
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entered chat string) Equal to Right_Answer
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
Else - Actions
-------- Unit --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Right_Unit Not equal to No unit
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering unit) Equal to Right_Unit
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
Else - Actions
-------- Escape --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Escape_Press Equal to 1
Then - Actions
Do nothing
Else - Actions
Skip remaining actions
-------- ===== --------
Set Players_answered = (Players_answered + 1)
Set Has_Answered[(Player number of (Triggering player))] = 1
Set Player_Time[(Player number of (Triggering player))] = Timer
Set All_Seconds[(Player number of (Triggering player))] = (All_Seconds[(Player number of (Triggering player))] + Player_Time[(Player number of (Triggering player))])
Multiboard - Set the text for Time_board item in column 2, row Multiboard_position[(Player number of (Triggering player))] to ((Substring((String(Player_Time[(Player number of (Triggering player))])), 1, ((Length of (String(Player_Time[(Player number of (Triggering player))]))) - 1))) + Seconds)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Players_answered Equal to Players_there
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Round End <gen> (ignoring conditions)
Else - Actions
Do nothing
Öhm?Zitat:
Zitat von Maurice
Ich habe keine Ahnung, ich habe schon bestimmt seit 2 Jahren nicht mehr gespielt :)