Karlson_the_red
First Post
Let me begin by saying, that I have virtually no scripting experience, other from what I am picking up as I go along.
Anyway, I thought I might post here, asking for help, since I haven't gotten a response from the Offical NWN boards. I am working on an area, using the NESS, in which I want the creatures to spawn in "hiding" and "moving silently"
According to the NESS help file, you can does this by adding a spawn script in the spawn_sc_spawn, and thne adding a flag to the spawn point.
ie. Line 90: ActionUseSkill (SKILL_HIDE, OBJECT_SELF);
using the example provided, in the script editor, of:
ActionUseSkill (int skill, object oTarget, int nSubskill=0, object oItemused=OBJECT_INVALID)
My line 90 compiles and seems to fit the parameter of the example, since I have no plan for any item use, but I am unsure what the nSubskill=0 thing is...
Anyway, I then put the SS90 flag, which should call line 90 from the spawn_sc_spawn.
ie: SP2_SS90_LT601A10B0C0_SN1_SA1_TR200D200_RW_RH50_RS30_SR5D2_CD20T1R0_RG50M10C30
The problem is, that the dang creatures, who are mostly rogue, and have ample skill points in Hide and move silently, ain't doing neither at all...
As I said, I know very little, and as far as I can find in the documentation, this should work. I also made the move silent skill on line 91 and added that as well, but the stuff just isn't producing the results I want.
If anyone has any idea about what I am doing wrong, please help me out....
Or if you have a better idea on how to achieve this, please let me know.
Thanks in advance,
Karlson the red
Anyway, I thought I might post here, asking for help, since I haven't gotten a response from the Offical NWN boards. I am working on an area, using the NESS, in which I want the creatures to spawn in "hiding" and "moving silently"
According to the NESS help file, you can does this by adding a spawn script in the spawn_sc_spawn, and thne adding a flag to the spawn point.
ie. Line 90: ActionUseSkill (SKILL_HIDE, OBJECT_SELF);
using the example provided, in the script editor, of:
ActionUseSkill (int skill, object oTarget, int nSubskill=0, object oItemused=OBJECT_INVALID)
My line 90 compiles and seems to fit the parameter of the example, since I have no plan for any item use, but I am unsure what the nSubskill=0 thing is...
Anyway, I then put the SS90 flag, which should call line 90 from the spawn_sc_spawn.
ie: SP2_SS90_LT601A10B0C0_SN1_SA1_TR200D200_RW_RH50_RS30_SR5D2_CD20T1R0_RG50M10C30
The problem is, that the dang creatures, who are mostly rogue, and have ample skill points in Hide and move silently, ain't doing neither at all...
As I said, I know very little, and as far as I can find in the documentation, this should work. I also made the move silent skill on line 91 and added that as well, but the stuff just isn't producing the results I want.
If anyone has any idea about what I am doing wrong, please help me out....
Or if you have a better idea on how to achieve this, please let me know.
Thanks in advance,
Karlson the red