| 07-13-2008, 11:53 AM | #1 |
How do I unlock camera from a unit? (with triggers) (without messing other camera properties?) |
| 07-13-2008, 12:31 PM | #2 | |
Quote:
A guess... By: Storing all other cam properties with GetCamera<property> Resetting camera Applying all stored properties |
| 07-13-2008, 03:49 PM | #3 |
Or just pan the camera with GetCameraTargetPosition(loc or coordinate). JASS:function UnlockCameraForPlayer takes player p returns nothing // when will it be inlined xD if p== GetLocalPlayer() then call PanCameraTo(GetCameraTargetPositionX(),GetCameraTargetPositionY()) endif endfunction |
| 07-13-2008, 04:09 PM | #4 |
I got it, tnx guys. |
