SRL Archive - OSR Help

Interacting with a Kitten


TehNeonFishy

2012-06-16 08:25:30

I'm having a bit of trouble of interacting with a kitten, the first was trying to get the script to find it in the first place, using ACA I've managed to get it to find it, but it does hover over 2 things first.

Also how would I get it to read when the kitten needs to be fed or stroked?

I thought I'd make this as I thought it wouldn't be too hard until I realised I don't know how to the read the chat box warnings. xD

riwu

2012-06-16 08:30:19

IsChatBoxTextAnyLine('msg of it hungry',clBlack) if the warning is black?

TehNeonFishy

2012-06-16 08:32:26

Sometimes I comes up like a npc chat pop up for hungry, for lonely it's just the normal in-chat warning.

Thanks for that. :D

putonajonny

2012-06-16 09:51:11

Is the kitten always the closest thing to you? if so you could break the TPoint up into an ATPA and then sort it by the positions closest to you, then go through them one at a time…