HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cinematic

05-18-2009, 12:46 AM#1
Joker
Dunno what I did, but it started working.
05-18-2009, 02:12 AM#2
MaD[Lion]
what doesnt work?
05-18-2009, 02:24 AM#3
Joker
The short code at the bottom.
05-18-2009, 11:46 AM#4
MaD[Lion]
i dont get it the bottom part call a function... where is this function...
05-18-2009, 02:12 PM#5
TEC_Ghost
Ya we need the function you are calling to figure out why it wont work :P
05-19-2009, 02:43 AM#6
Joker
Alright, hopefully it makes more sense now.
05-19-2009, 10:34 PM#7
MaD[Lion]
as the codes says this is how u call it:
Collapse JASS:
call SetCinematicSceneBJ(soundHandle, unitId, color, unitName, message, duration + bj_TRANSMISSION_PORT_HANGTIME, duration)
05-20-2009, 07:44 PM#8
Joker
Except this works
Collapse JASS:
function TransmissionFromUnitTypeWithNameBJ takes force toForce, player fromPlayer, integer unitId, string unitName, location loc, sound soundHandle, string message, integer timeType, real timeVal, boolean wait returns nothing

And this doesn't:
Collapse JASS:
private function SetScene takes integer id, playercolor pc, string who, string what, real dur returns nothing
        if IsPlayerInForce( GetLocalPlayer(), bj_FORCE_ALL_PLAYERS ) then
            call SetCinematicScene( id, pc, who, what, dur + bj_TRANSMISSION_PORT_HANGTIME, dur )
        endif
    endfunction
05-21-2009, 04:53 PM#9
MaD[Lion]
lol.. i guess u dont know jass... ure calling a wrong function name -.-