HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Uh that can't be good....

10-23-2003, 11:00 PM#1
Hunter0000
uhh, I just managed to make a trigger(well 2) that completely crash WC3 with no error message or anything, it just kills it.:////

S East Attack

Events
Unit - A unit comes within 100.00 of Circle of Power (large) 0054 <gen>
Conditions
Actions
Unit - Create 10 (Unit-type of (Triggering unit)) for Player 10 (Light Blue) at (Center of S Spawn <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit Group - Add (Picked unit) to Pre_Move)
Trigger - Run S Final Attack <gen> (checking conditions)
Unit - Remove (Triggering unit) from the game
Game - Display to (All allies of (Owner of (Triggering unit))) the text: (You have sent a group of 10 + ((String((Unit-type of (Triggering unit)))) + to attack the enemy position.))

S Final Attack

Events
Conditions
(Pre_Move is empty) Equal to False
Actions
Unit Group - Add all units of (Random 1 units from Pre_Move) to Move
Unit Group - Remove all units of Move from (Last created unit group)
Unit Group - Order Move to Attack-Move To (Center of S Center <gen>)
Unit Group - Remove all units from Move
Trigger - Run (This trigger) (checking conditions)


Why is it crashing WC3!?:////
10-23-2003, 11:04 PM#2
AllPainful
One VERY probable cause is that your looping the second trigger without a wait, put a 1 or 2 second wait before the "Run this trigger" action and it should work fine.
10-23-2003, 11:13 PM#3
Hunter0000
yup!, Did I just discover a way to really seriously **** up cheats in SP?

just make a trigger like that activated under certain curcumstances, hehe:ggani:
10-23-2003, 11:21 PM#4
Grater
My favorite crash trigger looks like this:
E - Unit is issued an order targetting a point.
A - Issue any unit an order targetting a point (ie move)

"I told you not to move your tauren..."