| 02-29-2004, 05:13 AM | #1 |
This crashes my game with no error message. E: Unit - A unit Loses an item C: (Item-class of (Item being manipulated)) Equal to Charged {my flag type} A: Game - Display to (All Players the text: DEBUG - A flag was dropped. If ((Item-type of (Item being manipulated)) Equal to Northern Enclave's Flag) then do (Item - Move (Item being manipulated) to (Center of Northern Flag <gen>)) else (Do nothing) If ((Item-type of (Item being manipulated)) Equal to Western Enclave's Flag) then do (Item - Move (Item being manipulated) to (Center of Western Flag <gen>)) else (Do nothing) If ((Item-type of (Item being manipulated)) Equal to Eastern Enclave's Flag) then do (Item - Move (Item being manipulated) to (Center of Eastern Flag <gen>)) else (Do nothing) |
| 02-29-2004, 05:16 AM | #2 |
Hmmm, are you sure that is whats causing it to crash? |
| 02-29-2004, 05:25 AM | #3 |
The If Else causes the crash. I can disable two and it will still crash. I can disable all three and it will work fine, simlpy displaying the Debug message. I believe it has to do with me misusing the item being manipulated bit. I'm not too familiar with that. [edit] It appears to be the actual moving of the item causing the crash. Making it wait between dropping and moving appears to have fixed it. |
