theFarWilds.com
http://thefarwilds.com/forum/

Scripting Update
http://thefarwilds.com/forum/viewtopic.php?f=14&t=1750
Page 1 of 1

Author:  jed [ Fri Mar 19, 2010 6:46 pm ]
Post subject:  Scripting Update

I added a bunch more functions for you guys.
I also changed all the player functions to be class functions meaning you have to call them like:

player.foo(); now rather than foo(player); so you will have to fix up your scripts a bit probably.

anyway check the wiki http://thefarwilds.com/wiki/index.php/Scripting

Let me know if you want some function exposed that isn't. Or you are trying to do make a script that does something and can't figure out how.
Otherwise the only other thing I'm planing on adding is the ability to chain scripts.

Author:  angelatheist [ Fri Mar 19, 2010 8:43 pm ]
Post subject:  Re: Scripting Update

for some reason the game won't start when i have the function createEntity("Dank Pit",2,2,P1); in the beforeStart() section
createEntity("Reserves",-2,-1,P1); works fine however.

the fortified AI example script isn't working for me either

Author:  jed [ Sat Mar 20, 2010 1:30 am ]
Post subject:  Re: Scripting Update

oh sorry fixed now.

Author:  emancipate [ Fri Mar 26, 2010 3:08 am ]
Post subject:  Re: Scripting Update

hey jed/altren im not sure if enchantEntity ( ) is useable yet, if it is what would the command look like? could you give an example? thanks

Author:  jed [ Fri Mar 26, 2010 3:45 am ]
Post subject:  Re: Scripting Update

not usable yet

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/