← Back to team overview

widelands-dev team mailing list archive

Re: lua scripting: 'use' no longer exists?

 

On 07.07.2014, at 09:37, Tibor Bamhor <tiborb95@xxxxxxxxx> wrote:

> Hi
> 
> It seem that syntax use("aux","script") is no longer working, with error:
> 
> [/var/widelands/tibor-ai3/src/scripting/lua_errors.h:29] [string "use("aux","caller_t")"]:1: attempt to call global 'use' (a nil value)
> 
> What should I use instead?

https://wl.widelands.org/docs/wl/autogen_globals/#include

grep for it, it is used all over the place in the Lua scripts.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow ups

References