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

[Solved] Wrong Custom Script, why?

Status
Not open for further replies.
Level 16
Joined
May 2, 2011
Messages
1,345
Hello guys,
I have custom script that does not work, basically it is

  • For each (Integer A) from 1 to 12, do (Actions)
    • Loop - Actions
      • Set LoopIntegerA = (LoopIntegerA + 1)
      • Custom script: set udg_HandleIdNoTable = GetHandleId(TimeForDemonSpawn[LoopIntegerA])
LoopIntegerA is an integer starting with 0 default value
TimeForDemonSpawn[N] is an array of size 12
I cant enable trigger
why?
 
Last edited by a moderator:
Status
Not open for further replies.
Top