Anteworld - Outerra Game > Modding: Importer, Tools & Utilities

Zooming in vehicles, planes and boats

<< < (2/2)

cameni:
init_chassis is called only on the first instance, that means there's no this.fov on other instances. You should make it a global variable. Basically, anything that doesn't vary per instance should be set as a global variable or constant.

fly77:
Thank you cameni ! It works using const fov_cockpit_zoom =default value.    :)  ( still don't know how to use global variables :'( ) 

Navigation

[0] Message Index

[*] Previous page

Go to full version