Jump to content

How can a prim detect GM meter melee weapon hits?


AwildaThorson
 Share

You are about to reply to a thread that has been inactive for 1495 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

As a training aid, I seek to create a prim that changes color briefly in response to a GM combat meter compatible melee weapon. I have seen in the "GM Weapon Guide Line v4.x" notecard how to calculate the channel to listen to. The way I understand it works is that a weapon script uses llSensor() to detect an avatar within the weapon's reach. It then gets the avatar's UUID, calculates from that the channel its meter script is listening to, and sends a message on that channel in the format specified by that notecard.

But in my case, instead of an avatar, I desire the weapon send the message to a script in my training aid prim. How can I make my prim be detected as an avatar for the purpose of receiving a melee weapon hit message?

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1495 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...