Cinematics and JASS

Hegemuffin

New Member
Reaction score
12
I've been doing a lot of my triggers in JASS lately, to help keep my work clean, and I was just wondering if there are any specific advantages to doing cinematics in JASS or if they're just better off left in GUI.

Thanks,

Hegemuffin
 

Chocobo

White-Flower
Reaction score
409
I've been doing a lot of my triggers in JASS lately, to help keep my work clean, and I was just wondering if there are any specific advantages to doing cinematics in JASS or if they're just better off left in GUI.

Thanks,

Hegemuffin

With JASS, you can use your own functions to get easily a cinematic to work in some lines.

Examples :

Code:
function MakeUnitFlyable takes unit u returns nothing
    call UnitAddAbility(u, 'Amrf')
    call UnitRemoveAbility(u, 'Amrf')
endfunction

This allows the unit to have a flying height. We can combine it for more power.

Code:
function CreateSpefUnit takes player p, integer unitId returns nothing
    local unit u = CreateUnit(p, unitId, 0., 0., 0.)
    call MakeUnitFlyable(u)
    set u = null
endfunction

This create Specified Unit at 0.0;0.0 and allows it to be flyable.


And better, with JASS you can use a Particle System Multi-Instanceable to makes more better your cinematic and to have exactly the point you wanted to move a unit.


And you can preload sounds if you want :

Code:
function PreloadSound takes string returns nothing
    local sound snd = CreateSound(string, false, false, false, 10, 10, "")
    call SetSoundVolume(snd, 0)
    call StartSound(snd)
    call KillSoundWhenDone(snd)
    set snd = null
endfunction


You may go on Cinematic System. Made by two persons I forget their names.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top