Login    Forum    Search    FAQ

Board index » Scenarios & Scripting




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Scripting Update
 Post Posted: Fri Mar 19, 2010 6:46 pm 
Offline

Joined: Tue Jan 08, 2008 2:07 am
Posts: 1045
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.


Top 
 Profile  
 
 Post subject: Re: Scripting Update
 Post Posted: Fri Mar 19, 2010 8:43 pm 
Offline

Joined: Mon Mar 02, 2009 11:00 am
Posts: 150
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

_________________
ȁ̎̉̈̂̎͋̈́̍n͂͑̿ͥͣ́̓ġͤ͑ͯe͌̓̊ͩ͗̅l̽̓ͬͬͥ̊͗aͣ̔̃ͧ̓̾̾t͊̑̆hͤ͆̓̉̌ͣ̚e̋ͩ͒̈́ĭ̌̒̎ͧ̓̋ͪs̋ͤͧ̅̇̋̎ͫ̂̾ͨ̽̄ͫͯt͒͐̌ͭ̂̃ͪ̽ͣ͗̒ͣ


Top 
 Profile  
 
 Post subject: Re: Scripting Update
 Post Posted: Sat Mar 20, 2010 1:30 am 
Offline

Joined: Tue Jan 08, 2008 2:07 am
Posts: 1045
oh sorry fixed now.


Top 
 Profile  
 
 Post subject: Re: Scripting Update
 Post Posted: Fri Mar 26, 2010 3:08 am 
Offline
User avatar

Joined: Fri May 01, 2009 9:17 pm
Posts: 119
Location: behind you eating your cookies...
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


Top 
 Profile  
 
 Post subject: Re: Scripting Update
 Post Posted: Fri Mar 26, 2010 3:45 am 
Offline

Joined: Tue Jan 08, 2008 2:07 am
Posts: 1045
not usable yet


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » Scenarios & Scripting


Who is online

Users browsing this forum: No registered users and 3 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: