FOnline Development > Questions and Answers

[2238] questions about follower scripts

(1/2) > >>

Alvarez:
How is the script for selling slaves called?

JovankaB:
I don't know but you can find it Metzger dialog.

Lexx:
Better check Vortis in NCR, his dialog is not as huge as the one from Metzger.

Atom:

--- Quote from: Alvarez on July 03, 2013, 05:37:10 pm ---How is the script for selling slaves called?

--- End quote ---

Slaves count as mercs, look for r_ and d_ functions inside merc_dialog.fos. The mercs definitions themselves are in mercs.fos, inside InitMercs (there you can find the mercs' ids).

Alvarez:
Thank you, it was indeed there. I had one more question if you don't mind:

If i were to make a shepherd dog, which would allow to carry two more brahmin in companion slots, would this equation in follower_common.fos make any sense?


--- Code: ---else if (FollowerType == FOLLOWER_TYPE_DOG)
{
    uint Dog = GetNumberOfType(player, FOLLOWER_TYPE_DOG);
return(Dog < 1 + (GetNumberOfType(FOLLOWER_TYPE_BRAHMIN) + 2))

}
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version