Talk:StendhalRefactoringCreatures: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>StephenIerodiaconou
No edit summary
imported>MiguelAngelBlanchLardin
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 20: Line 20:


</pre>
</pre>



----
Yes, but something more modular like:
<pre>
script Kobol

behaviour()
{
add(Coward(HP<30%))
add(Attack(Player))
add(Group(KoboldGroup))
add(Patrol(30 meters around))
add(NoSpeaker)
}
</pre>

The whole point is to avoid coding as much as possible.

About using Lua or python or anything like that I prefer to skip it. Java is already a script language, we can do it too with java in the same way we would did with python/lua.
--[[User:MiguelAngelBlanchLardin|MiguelAngelBlanchLardin]] 01:40, 31 Oct 2005 (PST)