Aller au contenu

Photo

New Custom Feat Script


  • Veuillez vous connecter pour répondre
30 réponses à ce sujet

#26
kevL

kevL
  • Members
  • 4 061 messages

have a look at pastebin



#27
kevL

kevL
  • Members
  • 4 061 messages

ps. still making some edits ... there's a leak there somewhere methinks.

 

[edit] ok



#28
Dann-J

Dann-J
  • Members
  • 3 161 messages

What is the script that checks to see if you have a ranged weapon equipped?

 

I have a hunting system on the overland map where you have to enter stealth mode and sneak close enough to prey items in order to 'talk' to them. If they see, hear or smell you before you get close enough, they run away and disappear. The following conversation conditional script checks whether you've got a ranged weapon equipped. If not, the conversation aborts. If so, then the conversation has you automatically take a shot at them.

int StartingConditional()
{
object oHunter = GetPCSpeaker();
object oWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oHunter);
int iRanged = GetWeaponRanged(oWeapon);
return iRanged;
}


#29
Laugh out loud

Laugh out loud
  • Members
  • 109 messages

have a look at pastebin

Thanks



#30
Laugh out loud

Laugh out loud
  • Members
  • 109 messages

Finished making this custom class.  It can be found at http://neverwinterva...er/sharpshooter


  • rjshae aime ceci

#31
rjshae

rjshae
  • Members
  • 4 491 messages

Finished making this custom class.  It can be found at http://neverwinterva...er/sharpshooter

 

Congratulations on your release! You might also consider posting to the Nexus so it reaches the widest possible audience.