Good afternoon,
I am sure this has been asked a few time over the years, and I can assure you that I've dug through the all forums and posts over the years. Watched some of Nick's videos and exhausted ChatGPT to the point I think they're going to cancel my subscription.
I am trying to figure out to setup a pretty straight forward script where, I set a target and then when I walk into a room with an NPC, the client will issue some sort of attack or other command, etc.
I can get the targetting stuff setup with variables without issue. Though, I am trying to figure out how to setup an auto-attack feature (use a 'charge' or 'kill' etc).
So recalling back to Nick's video back from 2009 -- I easily got the process setup of setting a target, and then easily creating an alias to inititate a command.
My goal, is to take that one step further and as I walk into a room, the client would see <NPC is here> and then if it matches the target, it would attack.
[Exits: north east south west]
There is a goblin here, lazing behind a pile of recently gathered stones.
There is a goblin here, lazing behind a pile of recently gathered stones.
So pasted above is just the exits and then mobs (not the full room name, description or ASCII map).
The goal would be to set goblin as a target, and when my character walked into the room, it would attack the goblin.
Is there a way to do this? I can get triggers and such to work easily with:
You are thirsty.
<drink cup>
I just can not figure out how to get the client to attack a create or mob that I run into while walking.
I am sure this has been asked a few time over the years, and I can assure you that I've dug through the all forums and posts over the years. Watched some of Nick's videos and exhausted ChatGPT to the point I think they're going to cancel my subscription.
I am trying to figure out to setup a pretty straight forward script where, I set a target and then when I walk into a room with an NPC, the client will issue some sort of attack or other command, etc.
I can get the targetting stuff setup with variables without issue. Though, I am trying to figure out how to setup an auto-attack feature (use a 'charge' or 'kill' etc).
So recalling back to Nick's video back from 2009 -- I easily got the process setup of setting a target, and then easily creating an alias to inititate a command.
My goal, is to take that one step further and as I walk into a room, the client would see <NPC is here> and then if it matches the target, it would attack.
[Exits: north east south west]
There is a goblin here, lazing behind a pile of recently gathered stones.
There is a goblin here, lazing behind a pile of recently gathered stones.
So pasted above is just the exits and then mobs (not the full room name, description or ASCII map).
The goal would be to set goblin as a target, and when my character walked into the room, it would attack the goblin.
Is there a way to do this? I can get triggers and such to work easily with:
You are thirsty.
<drink cup>
I just can not figure out how to get the client to attack a create or mob that I run into while walking.