- Joined
- Apr 21, 2013
- Messages
- 1,194
i got a tirggered item spawning but whenever i test the map it spawns randomly sometimes 2 sometimes 3 or 1 here's the trigger;
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
missionRandom[loopInt] Equal to 2
-
-
Then - Actions
-
Game - Display to playerGroup[loopInt] the text: Your new quest is t...
-
Quest - Create a Required quest titled Bring the weapons. with the description Bring the newly bou..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
-
Set startQuests[loopInt] = (Last created quest)
-
Cinematic - Ping minimap for playerGroup[loopInt] at (Center of WeaponsZone <gen>) for 3.00 seconds, using a Flashy ping of color (100.00%, 100.00%, 100.00%)
-
For each (Integer itemSpawn2) from 1 to 5, do (Actions)
-
Loop - Actions
-
Set tempLoc[itemSpawn2] = (Random point in WeaponsZone <gen>)
-
Item - Create Weapon Crates at tempLoc[loopInt]
-
Custom script: call RemoveLocation(udg_tempLoc[udg_itemSpawn2])
-
-
-
Game - Display to playerGroup[loopInt] the text: Bring them to the c...
-
Cinematic - Ping minimap for playerGroup[loopInt] at (Position of Peasant 0110 <gen>) for 3.00 seconds, using a Flashy ping of color (100.00%, 100.00%, 100.00%)
-
-
Else - Actions
-