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

International

Moderator: Moderators

Message
Author
ctophman
Noob
Noob
Posts: 3
Joined: 07 Jun 2009, 00:22
Noob?: Yes

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

#1 Post 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.

byrd
Human
Human
Posts: 21
Joined: 07 May 2009, 16:49
Noob?: No

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

#2 Post by byrd »

Read the wiki about UseSelf_item

ctophman
Noob
Noob
Posts: 3
Joined: 07 Jun 2009, 00:22
Noob?: Yes

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

#3 Post by ctophman »

Someone actually helped me, but thanks. I've checked that page multiple times btw....

ecwolf
Noob
Noob
Posts: 2
Joined: 06 Apr 2010, 00:48
Noob?: Yes

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

#4 Post 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

levex
Noob
Noob
Posts: 2
Joined: 13 Jun 2010, 14:26
Noob?: No

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

#5 Post 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.

Post Reply