Author Topic: how many Disposition scripts can be used on critter?  (Read 3232 times)

Offline Johnnyrico

  • im from Asian.
how many Disposition scripts can be used on critter?
« on: October 19, 2012, 08:33:03 am »
how many disposition scripts can be used on critter?

for example   ScriptName.............mob
                  FurName................._MobInit

this is one disposition that Surf told me, The function is attacking player automatically in game.


who knows the other NPC disposition?   please share it !!

thanks!!
Come in chosen one.

Offline wladimiiir

  • Rotator
  • Independent FOnline developer
Re: how many Disposition scripts can be used on critter?
« Reply #1 on: October 22, 2012, 02:49:40 pm »
how many disposition scripts can be used on critter?
As many as you can write. :)

_MobInit has been created for usage in encounters by those evil guys.
There is also encounter_npc@_NpcInit (scriptName=encounter_npc, funcName=_NpcInit) used by those good guys in encounters.

There are also some patterns created for NPC behavior (but haven't really tried them, so just my guess according to code what they do):
  • pattern_medic@_MedicInit - team medic, heals team members
  • pattern_slayer@_SlayerInit - sneaks, attacks everyone
  • pattern_sniper@_SniperInit - sniper, sneaker
  • pattern_term@_TermInit - terminator guy, unsneaks players

But you have to try them for yourself, how they behave. ;)