theres nothing to be inside the ()Anyway, I think Curo is right. You will probably have to create an Ability varible and then put udg_yourabilityvarible inside the () of GetSpellAbilityId().
JASS:
constant native GetSpellAbilityId takes nothing returns integer
it takes nothing
and GetSpellAbilityId IS referring to the ability being casted
GetSpellAbilityId()=Id of AbilityBeingCast
as for
i pretty sure the problem, like i said earlier is GetIssuedOrderId() doesnt work for the event-starts effect of abilityWell, I tried it, but unfortunately, things don't work like they should.
and there is no way to relate abilityid to its order string, unless you made it manually, but thats ungainly
i suppose you can make another trigger with the event-issued order targetting object, so as to use GetIssuedOrderId, save it in a variable and transfer it to the starts effect trigger