mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs
This commit is contained in:
@@ -2474,7 +2474,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
World,
|
||||
pos,
|
||||
(options & ScriptBaseClass.OS_NPC_NO_FLY) != 0,
|
||||
(options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0);
|
||||
(options & ScriptBaseClass.OS_NPC_LAND_AT_TARGET) != 0,
|
||||
(options & ScriptBaseClass.OS_NPC_RUNNING) != 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -626,6 +626,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public const int OS_NPC_FLY = 0;
|
||||
public const int OS_NPC_NO_FLY = 1;
|
||||
public const int OS_NPC_LAND_AT_TARGET = 2;
|
||||
public const int OS_NPC_RUNNING = 4;
|
||||
|
||||
public const int OS_NPC_SIT_NOW = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user