are there script cb do files in bf1 ?

Started by wsa30h, December 28, 2019, 11:17:07 AM

Previous topic - Next topic
can i make ascript cb dofile or modify one in bf1 ?
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

ScriptCB_DoFile("luaname") will execute any lua file you have included, allowing you to call in custom lua script functions.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

how do i set that up ?
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

http://www.swbfgamers.com/index.php?topic=6706.msg71350#msg71350
This is a good example.
I don't think it does what you think it does - essentially, if you write a chunk of lua script that would be better if you could repeat it all the time, you can put it in a function.  Then, using this method, you call it in when you need it rather than copying it in all the time.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.