• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Inexplicable Instant-shutdown script/trigger

Status
Not open for further replies.
Level 7
Joined
May 15, 2009
Messages
192
Hello, I'm at my wit's end here.

I made this custom script:
  • call MoveLightningEx(udg_ManaChanLightning[(udg_ManaChanTempi1)], true , GetLocationX(udg_ManaChanTempp1), GetLocationY(udg_ManaChanTempp1), GetLocationZ(udg_ManaChanTempp1) + 150, GetLocationX(udg_ManaChanTempp2), GetLocationY(udg_ManaChanTempp2) - 50, GetLocationZ(udg_ManaChanTempp2) + 320)
Which, for whatever reason, instantly shuts down the editor whenever I type it in and hit the "okay" button. Also shuts down when cancelling.

When I simply used Tempp1 (without the "ManaChan" prefix) it worked just fine, but when I created a separate set of variables (ManaChanTempp1 and ManaChanTempp2) it just started shutting down whenever I tried to type in the custom script.

Can anyone explain? Is the custom function too long?
 
Level 7
Joined
May 15, 2009
Messages
192
Okay, I shortened the name down (Changing ManaChan to just "MC) and it now works properly. I guess the function became too long, which the editor couldn't handle. Not even when I ran it in NewGen.

Anyway, problem solved. Thread closed.
 
Status
Not open for further replies.
Top