Search found 11 matches

by JoJo Dreamer
Sat Jul 23, 2022 1:56 pm
Forum: Scripting
Topic: Function: string right
Replies: 2
Views: 1806

Re: Function: string right

Thank you Graham! I'll look into that when im back at my computer!
by JoJo Dreamer
Sat Jul 23, 2022 12:45 pm
Forum: Scripting
Topic: Function: string right
Replies: 2
Views: 1806

Function: string right

Hello, anyone that could give me some help how to use the function String Right (at least i *think* that is what i should use)? At present my NPCs listen to local chat, and for instance if i ask them about 'tours' or 'people' they give some information, like this: else if (cmd1 == "tours") { osNpcSa...
by JoJo Dreamer
Wed Jun 29, 2022 11:18 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

I decided to create a script which tells it to reset "..Controller" inside Active NPC. default { state_entry() { llListen(70, "", "", ""); } listen(integer ch, string name, key id, string msg) { if (msg == "reboot") { llResetOtherScript("..Controller"); } } } An Avatar, NPC or Prim (using llRegionS...
by JoJo Dreamer
Wed Jun 29, 2022 5:58 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

Not an expert but I note that Active-NPC has a permissions system. I wonder if that's causing the problem (see under Permissions). https://github.com/opensimworld/active-npcs That part sets permissions to limit access to NPCs, and to specific commands to certain users or to all users. Just in case ...
by JoJo Dreamer
Wed Jun 29, 2022 4:25 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

I haven't done much with Active-NPC for a while so can't comment further. Possibly worth noting this in case it's relevant https://www.kitely.com/forums/viewtopic.php?f=26&t=6325 thanks again Graham, i did as above and tested both options of the "Anyone can visit" checkbox on the Access tab of Abou...
by JoJo Dreamer
Wed Jun 29, 2022 3:44 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

It's possible that there is some issue with Active-NPC or your object. The demo for this function works OK. http://opensimulator.org/wiki/OsNpcTouch Just pop the script in a prim, touch it and then the NPC does the rest (random prim colour changes). Thank you Graham, but i get the NPC to touch my p...
by JoJo Dreamer
Wed Jun 29, 2022 1:41 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

Ilan Tochner wrote:
Wed Jun 29, 2022 1:28 pm
Scripts use the Owner permissions.
Then this is very strange: "Because when i touch it all works but when the NPC touches same object, it does not work."
by JoJo Dreamer
Wed Jun 29, 2022 1:20 pm
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

Re: OSSL, NPC's and scripts...

Hi JoJo, Different people have different OSSL permissions, based on their relation to the world and/or parcel the script is running in. See: https://www.kitely.com/virtual-world-news/2012/04/18/supported-ossl-functions/ You may find this forums thread relevant: https://www.kitely.com/forums/viewtop...
by JoJo Dreamer
Wed Jun 29, 2022 11:25 am
Forum: Scripting
Topic: OSSL, NPC's and scripts...
Replies: 15
Views: 4153

OSSL, NPC's and scripts...

Hi everyone. Little background info: Im using the Active-NPC to controll my NPCs. I have one problem though - i am telling one of my NPC's to interact with it. This is done on channel 68 but i cant get it to work. If i do a command on ch 68, it all works. If the NPC does the same, it doenst work. So...
by JoJo Dreamer
Mon May 23, 2022 9:13 pm
Forum: Worlds Support
Topic: World(?) Manager
Replies: 2
Views: 2079

Re: World(?) Manager

thanks Ilan, that clearified how and where he can make me as an Estate manager, thanks again!