Can someone tell me why this is not working please

O.A

Quantum physics rules
Reaction score
29
Edit: (Solved)
When doing this:
Actions
Set Volcano = volcano <gen>
Set Volcano = RandomEventScriptArray[1]
Set Earthquake = earthquake <gen>
Set Earthquake = RandomEventScriptArray[2]
Set HyperXplosion = hyperXplosion <gen>
Set HyperXplosion = RandomEventScriptArray[3]
Set DruidsWard = druidsward <gen>
Set DruidsWard = RandomEventScriptArray[4]

Then shouldn't this execute one of the triggers above?:

Actions

Trigger - Run RandomEventScriptArray[(Random integer number between 1 and 4)] (ignoring conditions)

Volcano, Earthquake, HyperXplosion and Druidsward are trigger variables, and RandomEventScriptArray[] is a trigger array. (and of course the <gen>s are the actual triggers)

I've tested each trigger individually and they all work.
 

Xan_Kriegor

I can change this now in User CP.
Reaction score
12
Your assignment is in the wrong direction. You need to use Set RandomEventScriptArray[n] = YourTrigger, not the other way around. Right now you set each variable to two different things, the latter overwriting the former. After you fix that it should work as intended.
 
  • Like
Reactions: O.A
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top