- Joined
- Aug 17, 2024
- Messages
- 5
Hello everyone, I've been browsing and standing on the shoulders of giants for years, pretty much managing to caveman my way out of every problem, but now I'm trying to call a custom scrip to order computer units to cast a triggered jump (852600) based on channel, which seemed to work just fine with a 5 units test run, but the maps needs to handle +25 of these units. Now, after 4 or 5 of the 25 complete the jump, the rest just stand there with the icon of the ability active as if its being pressed, remaining completely freezing and unnreactive. I figured "maybe I need to index into arrays" (so that many instances can run at the same time), but the thing is, I cant find the way to syntax arrays inside the TargetOrderById function. It worked with simple numbered arrays like Example[1] but not with variables like Example[ExampleIndex]. Am I mixing pears with apples by trying ti handle things these way? Do I need to handle the incremental index on Jass on the map Custom Script Code? Any and all help would be greatly appreciated!
PD: Some Additional Context: The Follow Through Time is only (0.1) seconds / Unique cast is NOT selected / the spell is currently Point targeted, but (and correct me if I'm wrong) I think it could be Point / Unit targeted all the same.
1 compile error
call IssueTargetOrderById (udg_TRexOrder[JumpAttackIndex2]], 852600 , udg_EggtoBreak)
Symbol not declared (JumpAttackIndexTwo)
Last edited: