Not logged inOpenClonk Forum
Up Topic General / Feedback and Ideas / What about MaxZoom?
- - By Anonymous [de] Date 2012-06-26 17:57
Hello,
what about limiting players zoom by defining MaxZoom in scenario.txt? This could be useful in some adventure or puzzle maps.

Greetings Frank
Reply
Parent - - By Zapper [de] Date 2012-06-26 18:08
Hi,

you can currently do that with the script function "SetPlayerZoomByViewRange".

You could for example use this in your scenario script when a player joins (note: the 200 are the zoom range here):
func InitializePlayer(int player)
{
SetPlayerZoomByViewRange(player, 200, 200, PLRZOOM_LimitMax);
}
Parent - By Anonymous [de] Date 2012-06-26 19:24
Cool! Thank you for your reply.
Reply
Up Topic General / Feedback and Ideas / What about MaxZoom?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill