function CinematicFilterGenericForPlayer takes player whichPlayer, real duration, blendmode bmode, string tex, real red0, real green0, real blue0, real trans0, real red1, real green1, real blue1, real trans1 returns nothing
if ( GetLocalPlayer() == whichPlayer ) then
call SetCineFilterTexture(tex)
call SetCineFilterBlendMode(bmode)
call SetCineFilterTexMapFlags(TEXMAP_FLAG_NONE)
call SetCineFilterStartUV(0, 0, 1, 1)
call SetCineFilterEndUV(0, 0, 1, 1)
call SetCineFilterStartColor(PercentTo255(red0), PercentTo255(green0), PercentTo255(blue0), PercentTo255(100-trans0))
call SetCineFilterEndColor(PercentTo255(red1), PercentTo255(green1), PercentTo255(blue1), PercentTo255(100-trans1))
call SetCineFilterDuration(duration)
call DisplayCineFilter(true)
endif
endfunction
Name | Type | is_array | initial_value |
AntiDirectionSpeed | real | No | |
ApproachCorrect | integer | Yes | |
Betting | boolean | No | |
BettingStation | unit | Yes | |
BonusBoost | boolean | No | |
BookedRaces | integer | Yes | |
BoostEffect | effect | Yes | |
Boosting | boolean | Yes | |
BoughtRacer | boolean | Yes | |
BoughtUnitsHashtable | hashtable | No | |
BoulderCam | boolean | Yes | |
CaveCam | boolean | Yes | |
Colliding | boolean | Yes | |
CollisionAngle | real | No | |
Contractor | unit | No | |
Controller | unit | Yes | |
CountdownBetting | timer | No | |
CountdownEnter | timer | No | |
CountdownRace | timer | No | |
CountdownWindow | timerdialog | No | |
CurrentAccel | real | No | |
CurrentDirection | real | Yes | |
CurrentFacing | real | Yes | |
CurrentLaps | integer | Yes | |
CurrentSpeed | real | Yes | |
DirectionSpeed1 | real | No | |
DirectionSpeed2 | real | No | |
DyeColorBlue | real | Yes | |
DyeColorGreen | real | Yes | |
DyeColorRed | real | Yes | |
FinalMultiplier | real | Yes | |
FinalPosition | integer | Yes | |
Finish1 | rect | Yes | |
FinishedRace | force | No | |
HasVoted | boolean | Yes | |
HillCam | boolean | Yes | |
HintCounter | integer | No | |
Hints | string | Yes | |
HintTimer | timer | No | |
IndividualAverage | real | No | |
IndividualValue | real | Yes | |
Ingame | force | No | |
InRace | force | No | |
ItemTypeRacer | itemcode | Yes | |
J | real | Yes | |
Jumping | boolean | Yes | |
JumpingHeight | real | Yes | |
JumpingSpeed | real | Yes | |
LapsNeeded | integer | No | |
Leavers | force | No | |
multiboard | multiboard | No | |
multiboardrow | integer | Yes | |
n | real | No | |
Observing | force | No | |
p | real | No | |
Pitchcounter | integer | No | |
Player | unit | Yes | |
PlayerBet | integer | Yes | |
PlayerIsAtStart | boolean | Yes | |
PlayerIsRacing | boolean | Yes | |
PlayersInRace | integer | No | |
PlayerValue | real | Yes | |
Position | string | Yes | |
PositionCounter | integer | No | |
PotentialReward | integer | Yes | |
PowerValue | real | No | |
Race | timer | No | |
RaceMusic | sound | Yes | |
RaceOn | boolean | No | |
Racer | unit | Yes | |
RacerAnimationIndex | integer | Yes | |
RaceReward | integer | No | |
RacerImage | string | Yes | |
RacerName | string | Yes | |
RacerSound | sound | Yes | |
RacerStatAclIncr | real | Yes | |
RacerStatAclMin | real | Yes | |
RacerStatBoostDecr | real | Yes | |
RacerStatBoostDur | real | Yes | |
RacerStatBoostIncr | real | Yes | |
RacerStatsHashtable | hashtable | No | |
RacerStatSpd | real | Yes | |
RacerStatTurnControl | real | Yes | |
RacerStatTurnDeg | real | Yes | |
RacerStatTurnRetain | real | Yes | |
RacerType | unitcode | Yes | |
RaceTrack | integer | No | |
RandomSpeed | real | Yes | |
RunAnimIndex | integer | Yes | |
SettingDramCam | boolean | Yes | true |
SettingHints | boolean | Yes | true |
SettingMusic | boolean | Yes | true |
SettingRaceControl | boolean | Yes | true |
SettingView | integer | Yes | 1 |
SpecialCam | boolean | Yes | |
Stable | location | Yes | |
StartingPositionA | location | Yes | |
StartingPositionB | location | Yes | |
StartingPositionC | location | Yes | |
StartingPositionD | location | Yes | |
StartingPositionE | location | Yes | |
StartingPositionF | location | Yes | |
StatAccelIncr | real | Yes | |
StatAccelMin | real | Yes | |
StatBoostDecr | real | Yes | |
StatBoostDura | real | Yes | |
StatBoostIncr | real | Yes | |
StatConstantAccelIncr | real | Yes | |
StatConstantAccelMin | real | Yes | |
StatConstantBoostDecr | real | Yes | |
StatConstantBoostDur | real | Yes | |
StatConstantBoostIncr | real | Yes | |
StatConstantSpeed | real | Yes | |
StatConstantTurnControl | real | Yes | |
StatConstantTurnDeg | real | Yes | |
StatConstantTurnRetain | real | Yes | |
StatSpeed | real | Yes | |
StatTurnControl | real | Yes | |
StatTurnDeg | real | Yes | |
StatTurnRetain | real | Yes | |
StringColor | string | Yes | |
tempboolean | boolean | No | |
tempinteger | integer | No | |
tempinteger2 | integer | No | |
temppgroup | force | No | |
temppoint | location | No | |
temppoint2 | location | No | |
temppoint3 | location | No | |
temppoint4 | location | No | |
temppoint5 | location | No | |
tempreal | real | No | |
tempreal2 | real | No | |
tempugroup | group | No | |
tempugroup2 | group | No | |
tempunit | unit | No | |
TotalBet | integer | Yes | |
TotalVotes | integer | Yes | |
TransformedBandit | boolean | Yes | |
TransformedKodo | boolean | Yes | |
TransformedRaider | boolean | Yes | |
TransformedSeer | boolean | Yes | |
TransformedWizard | boolean | Yes | |
Turns | real | Yes | |
VoteSpot | integer | Yes | |
WebInRegion | boolean | Yes | |
Webregion | rect | Yes | |
Webspot | integer | Yes | |
Winner | integer | No | |
x | real | No | |
XAccel | real | No | |
XLoc | real | Yes | |
XSpeed | real | No | |
y | real | No | |
YAccel | real | No | |
YLoc | real | Yes | |
YSpeed | real | No |