• 🏆 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!

Quick JASS question! +2 rep for answer!

Status
Not open for further replies.

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
@rulerofiron99 Thanks for the great suggestion! +2 rep ;D
Edit: Bah I already gave you! I'll add as soon as the timer is down again!
EDIT2: Now I get "Local declaration after first statement" error in this code section:
  • Actions
    • Set temp_point = (Position of (Triggering unit))
    • Custom script: local string s = ""
    • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
    • Custom script: set s = "Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl"
    • Custom script: endif
    • Custom script: call AddSpecialEffectLoc( s, udg_temp_point )
 
Status
Not open for further replies.
Top