Script Bot NPC - DigiGrids

Script Bot NPC. Les Fonctions NPC ont été récement implémentées dans OpenSim. Voici quelques scripts d'exemples d'utilisation. Les fonctions NPC n'étant ...
250KB taille 13 téléchargements 413 vues
Script Bot NPC

Les Fonctions NPC ont été récement implémentées dans OpenSim. Voici quelques scripts d'exemples d'utilisation.

Les fonctions NPC n'étant pas implémentées dans Aurora-Sim, ces scripts ne fonctionneront donc pas sur ce type de server. Heureusement sur Aurora-Sim nous avons les BotFunctions (exclusives). NpcBot simple

NpcBot simple 1 2 3 4 5 6 7 8 9 10// touch 11 12to13 create 14 15 a NPC 16 //clone 17 NPC 18of will 19 the move 20 toucher 21 to the 22in toucher, 23 front // Touch 24of 25 this then again 26 emitter will 27 to greet remove 28 29 the //

NpcBot Random Movement

NpcBot Random Movement 1 2 3 4 5 6 7 8 9 10// touch 11 12to13 create 14 15 a NPC 16 //clone 17 NPC 18of will 19 the move 20 toucher 21 to the 22in toucher, 23 front // Touch 24of 25 this then again 26 emitter will 27 to greet remove 28 29 the //

NpcBot FollowOwner Npc Follower v0.1 1 2 3 4 5 6 7 8 9 10// Npc 11 12 Follower 13 14v0.1 15 16 17 18 19 20 21 22 23 key24 npc25 26 27 28 29;

NpcBot Ao

NpcBot Ao 1 2 3 4 5 6 7 8 9 10// Script 11 12OpenSIM-AO 13 14 15 16 v2.0 //17 LowLag 18 19AO 20Quick 21 22 and23 //Dirty (c) 24Akira Script 25 26 Sonoda 27 28 29//

NpvBot CauseDamage (Sensor)

NpvBot CauseDamage (Sensor) 1 2 3 4 5 6 7 8 9 10// Npc 11 12 Bot13 Damage 14 15 16 17 18 19 20 21 22 23 float24 25 26 27 28 29d

1/2

Script Bot NPC

NpcBot CauseHealing (Sensor)

NpcBot CauseHealing (Sensor) 1 2 3 4 5 6 7 8 9 10// Npc 11 12 Bot13 Damage 14 15 16 17 18 19 20 21 22 23 float24 25 26 27 28 29h

HealButton HealButton 1 2 3 4 5 6

default

{

touch_start

(

npc = osNpcCreate(nombre,apellido, npcPos,llKey2Name(llDetectedKey(0))); npc = osNpcCreate("Nombre", "Apellido", npcPos, "appearance");

2/2