• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] How to retrieve ability being leaned

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
In GUI

Dont feel like JASSing it.. if i have to JASS it i will but i swear theres a Event Response - Ability being Learned but thats not an option
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
GetLearnedSkill()

It returns an integer.

  • Custom script: set integer = GetLearnedSkill()

ty again bro

prob cant rep

e/ cant use letters in GUI integers.

2e/ integer to string doesnt return right (whoops) is it possible to do TempInteger == A043 in GUI? or do i just have to do the trigger in J
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
Custom script: if udg_TempInteger == 'A043' then
*GUI actions here*
Custom script: else
*You can delete the else if there are no actions here*
Custom script: endif

Didn't know you didn't have to put the else if there was no else.

anyway, i gave up and did it in pure jass ty any way tho
 
Status
Not open for further replies.
Top