Deas wrote:
i am not aware of all the uses of "in" but i do know the two basic ones, and that is the array and "between" (as i'd like to call it), i've heard that there are a few more, but i don't know the uses of those, and therefor i'm not going to speculate in what those does.
Ahh I see.. hopefully Phil know.. D:
Deas wrote:
about throwing a bush at a npc, AFAIK; there is no way to detect if a npc been hit by a bush or a stone, unless there is some undocumented event that i've never heard of.
showcharacter should be showcharacter(); too, as without the (); it is GS1.
Slightly unsure why the conversion was listed, but I know it's under GS1, I suppose it could work in GS2 as well:
peltwithblackstone the npc was pelt with a blackstone
peltwithbush the npc was pelt with a bush
peltwithnpc the npc was pelt with another npc
peltwithsign the npc was pelt with a sign
peltwithstone the npc was pelt with a stone
peltwithvase the npc was pelt with a vase
I can't say I've tried them but they are listed in the command list I posted. I'll have to try it thursday...
Can't now..
Deas wrote:
the best way to detect if someone is "in-range" using the "between-method" is in a timeout event, where you are checking if there is anyone close to it endlessly.
I guess it depends what you are doing
..
Someone may want to use a while to only check endlessly once until they are out of the 'area'. But even with timeout you can have an 'off and on' switch so it turns off out of range, and after the playertouchs npc it could set it back on until they leave again.. Personal preferences lol Could even use an infinite for loop.. D: