Scaleform used for Mission selection in Biker Clubhouse with DrawScaleformMovie_3d.
BeginScaleformMovieMethod(scaleform, "SET_MISSION") PushScaleformMovieMethodParameterInt(0) -- Mission index PushScaleformMovieMethodParameterString("TITLE_TEXT 1") -- Title text PushScaleformMovieMethodParameterString("DESCRIPTION_TEXT 1") -- Description text PushScaleformMovieMethodParameterString("nhp_photo_3") -- Image shown above the title. (Needs to be in a txd where the txd and the image have the same name! Example: "nhp_photo_3") PushScaleformMovieMethodParameterFloat(840.9) -- X coordinate of the red marker on the map PushScaleformMovieMethodParameterFloat(6491.91) -- Y coordinate of the red marker on the map EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "SET_MISSION") PushScaleformMovieMethodParameterInt(1) -- Mission index PushScaleformMovieMethodParameterString("TITLE_TEXT 2") -- Title text PushScaleformMovieMethodParameterString("DESCRIPTION_TEXT 2") -- Description text PushScaleformMovieMethodParameterString("nhp_photo_3") -- Image shown above the title. (Needs to be in a txd where the txd and the image have the same name! Example: "nhp_photo_3") PushScaleformMovieMethodParameterFloat(240.9) -- X coordinate of the red marker on the map PushScaleformMovieMethodParameterFloat(4491.91) -- Y coordinate of the red marker on the map EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "SET_MISSION") PushScaleformMovieMethodParameterInt(2) -- Mission index PushScaleformMovieMethodParameterString("TITLE_TEXT 3") -- Title text PushScaleformMovieMethodParameterString("DESCRIPTION_TEXT 3") -- Description text PushScaleformMovieMethodParameterString("nhp_photo_3") -- Image shown above the title. (Needs to be in a txd where the txd and the image have the same name! Example: "nhp_photo_3") PushScaleformMovieMethodParameterFloat(50.9) -- X coordinate of the red marker on the map PushScaleformMovieMethodParameterFloat(120.91) -- Y coordinate of the red marker on the map EndScaleformMovieMethod()
for i = 0,14,1 do BeginScaleformMovieMethod(scaleform, "SET_STAT") PushScaleformMovieMethodParameterInt(i) -- Stat index (0 - 14) PushScaleformMovieMethodParameterString("DESCRIPTION #" .. i) --Stat description PushScaleformMovieMethodParameterString("STAT #" .. i) -- Stat right text EndScaleformMovieMethod() end
BeginScaleformMovieMethod(scaleform, "SET_SELECTED_MISSION") PushScaleformMovieMethodParameterInt(2) -- Mission index of which mission should be not greyed out / selected EndScaleformMovieMethod()
BeginScaleformMovieMethod(scaleform, "HIDE_MISSION") PushScaleformMovieMethodParameterInt(1) -- Mission index of which mission to hide EndScaleformMovieMethod()
Scaleform cann be drawn fullscreen and in 3D space.
For example: DrawScaleformMovie_3d(scale, 1110.68, -3146.5, -35.8, 180.0, 0.0, 90.0, 0.0, 1.0, 0.0, 2.5, 1.5, 1.0, false) is the somewhat correct position to place it in the clubhouse interior.