• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Convert this to natives

Status
Not open for further replies.
Level 5
Joined
Aug 15, 2007
Messages
145
JASS:
private function Trig_stop_Conditions takes nothing returns boolean
    if ( not ( GetIssuedOrderId() == String2OrderIdBJ("stop") ) ) then
        return false
    endif
    return true
endfunction

How do I do this?? I want to remove the BJ
 
Level 12
Joined
Dec 10, 2008
Messages
850
JASS:
private function Trig_stop_Conditions takes nothing returns boolean    
 return GetIssuedOrderId() == String2OrderIdBJ("stop") 
endfunction

That should fix it. Blizzard added alot of junk that you don't need when you convert GUI to JASS, and it adds nothing positive to the code.
 
Status
Not open for further replies.
Top