- Joined
- Jul 9, 2012
- Messages
- 159
Hello again 
I have yet other issues with this annoying trigger!
The trigger is supposed to check whether a player's ingame-camera is within a region (the region is called "Realm of Madness"), and then set make all surroundings dark by call SetDayNightModels("","").
Here is my messy trigger:

The first one is that the trigger keeps triggering the action
My second problem is that I haven't found the proper action to turn
It's a rather confusing question I have made. I hope you all get it, or just ask otherwise, and I will try to explain it in another way! Thank you!
I have yet other issues with this annoying trigger!
The trigger is supposed to check whether a player's ingame-camera is within a region (the region is called "Realm of Madness"), and then set make all surroundings dark by call SetDayNightModels("","").
Here is my messy trigger:
-
DayNight Models
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
Player Group - Remove all players from NetherCheckPG
-
Set NetherBooleanPG = (All players controlled by a User player)
-
Set NetherPlayerInteger = (Number of players in NetherBooleanPG)
-
For each (Integer NetherPlayerIndex) from 1 to NetherPlayerInteger, do (Actions)
-
Loop - Actions
-
Set NetherPlayer[NetherPlayerIndex] = (Random player from (All players matching ((((Matching player) is in NetherBooleanPG) Equal to True) and (((Matching player) is in NetherCheckPG) Equal to False))))
-
Player Group - Add NetherPlayer[NetherPlayerIndex] to NetherCheckPG
-
Custom script: if GetLocalPlayer() == udg_NetherPlayer[udg_NetherPlayerIndex] then
-
Set CameraPoint[NetherPlayerIndex] = (Target of current camera view)
-
Custom script: endif
-
Set NetherPlayerGroup[NetherPlayerIndex] = (All players matching ((Realm of Madness <gen> contains CameraPoint[NetherPlayerIndex]) Equal to True))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(NetherPlayer[NetherPlayerIndex] is in NetherPlayerGroup[NetherPlayerIndex]) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
NetherBoolean[(Player number of NetherPlayer[NetherPlayerIndex])] Equal to False
-
-
Then - Actions
-
Game - Display to NetherPlayerGroup[NetherPlayerIndex] the text: Realm of Madness
-
Set NetherBoolean[(Player number of NetherPlayer[NetherPlayerIndex])] = True
-
Custom script: if GetLocalPlayer() == udg_NetherPlayer[udg_NetherPlayerIndex] then
-
Custom script: call SetDayNightModels("","")
-
Custom script: endif
-
-
Else - Actions
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
NetherBoolean[(Player number of NetherPlayer[NetherPlayerIndex])] Equal to True
-
-
Then - Actions
-
Game - Display to NetherPlayerGroup[NetherPlayerIndex] the text: Icecrown
-
Set NetherBoolean[(Player number of NetherPlayer[NetherPlayerIndex])] = False
-
Custom script: if GetLocalPlayer() == udg_NetherPlayer[udg_NetherPlayerIndex] then
-
Custom script: call SetDayNightModels("","")
-
Custom script: endif
-
-
Else - Actions
-
-
-
-
Custom script: call DestroyForce(udg_NetherPlayerGroup[udg_NetherPlayerIndex])
-
-
-
Custom script: call DestroyForce(udg_NetherBooleanPG)
-
-
The first one is that the trigger keeps triggering the action
-
Game - Display to NetherPlayerGroup[NetherPlayerIndex] the text: Realm of Madness
-
Game - Display to NetherPlayerGroup[NetherPlayerIndex] the text: Icecrown
My second problem is that I haven't found the proper action to turn
-
Custom script: call SetDayNightModels("","")

It's a rather confusing question I have made. I hope you all get it, or just ask otherwise, and I will try to explain it in another way! Thank you!