HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

CTF Flag crashes the game

09-26-2006, 04:42 PM#1
Siphonized
When my Hero tries to drop the CTF Flag (Undead) he is wearing, the game crashes. Only trigger I have manipulating the item is:

Trigger:
Flag Drop
Collapse Events
Unit - A unit Loses an item
Collapse Conditions
(Item-type of (Item being manipulated)) Equal to CTF Flag
Collapse Actions
Item - Move (Item being manipulated) to (Center of Team1Beacon <gen>)

Also, is there any way to make the "spectator camera" (the camera you see through) zoom out?
I might have used a too high "cliff-level" when I made the map and I want to be able to see more of the playfield.
09-26-2006, 04:45 PM#2
martix
Try putting a wait, 0.1 sec should do it :) Other than that I don't know.
09-26-2006, 04:52 PM#3
aquilla
the item might have to have drops when carrier dies set to true
09-26-2006, 05:25 PM#4
Siphonized
The small wait fixed it.

But I still have trouble with the camera, it's way too zoomed in :(
09-27-2006, 03:06 PM#5
BertTheJasser
@martix: that's completly wrong
Use a TriggerSleepAction(0.) which is in GUI simply Wait
09-27-2006, 08:01 PM#6
martix
The dude probably doesn't know JASS, neither do I...
So if you suggest the same thing in another format whats wrong with it?
09-27-2006, 08:17 PM#7
Captain Griffen
Wait - 0.00 would be best.

Events often fire before the event actually takes place.

To change the height, change the height camera field, or the distance to target.