Destory Lighting Effect Crashes

Status
Not open for further replies.
Level 3
Joined
Jan 31, 2023
Messages
17
When i try to destroy the lighting effect it crashes::
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of Mountain King 0000 <gen>) to target (Position of Mountain King 0001 <gen>)
      • Lightning - Change color of (Last created lightning effect) to (0.00 0.00 1.00) with 1.00 alpha
      • Set lcl = (Last created lightning effect)
      • Wait 3.00 seconds
      • Lightning - Destroy lcl
And this is the move trigger
  • Untitled Trigger 001
    • Events
      • Time - Every 0.02 seconds of game time
    • Conditions
    • Actions
      • Lightning - Move lcl to source (Position of Mountain King 0000 <gen>) and target (Position of Mountain King 0001 <gen>)
All I had this triggers yet it crashes somehow
 
Okey the problem is I had to add '' Custom script: set udg_lcl[udg_integer] = null '' after destroy lighting effectso i make it lcl arrayable and create an integer for it please close this thread ;_;
 
Status
Not open for further replies.
Back
Top