Page 1 of 1

How do I use potions whenever I get below certain health?

Posted: 25 May 2010, 23:38
by ctophman
Well, I saw someone say you have to type useSelf, but I'm not entirely sure where to type it. Could someone describe it in a little more detail for a noob in Openkore? Thanks! I am wanting to use Novice Potions when I fall below a certain amount of health.

Re: How do I use potions whenever I get below certain health?

Posted: 26 May 2010, 15:33
by byrd
Read the wiki about UseSelf_item

Re: How do I use potions whenever I get below certain health?

Posted: 26 May 2010, 17:28
by ctophman
Someone actually helped me, but thanks. I've checked that page multiple times btw....

Re: How do I use potions whenever I get below certain health?

Posted: 07 Jun 2010, 09:44
by ecwolf
ctophman wrote:Someone actually helped me, but thanks. I've checked that page multiple times btw....
Really? Check again. http://wiki.openkore.com/index.php?title=Manual

Re: How do I use potions whenever I get below certain health?

Posted: 15 Jun 2010, 13:17
by levex
Since people are just telling you to read Ill just give it to you straight.

Code: Select all

useSelf_item Red Potion {
	hp < 30%
}
That's all you basically need to get it to work. Mine is:

Code: Select all

useSelf_item Red Potion {
	hp < 30%
	sp
	homunculus_hp
	homunculus_sp
	homunculus_dead
	onAction
	whenStatusActive
	whenStatusInactive
	whenFollowing
	spirit
	aggressives
	monsters
	notMonsters
	stopWhenHit 0
	inLockOnly 0
	notWhileSitting 0
	notInTown 0
	timeout
	disabled 0
	inInventory
	manualAI 0
}

Most of that doesn't even work really I just keep it for reference.