Beltzer on 22/8/2013 at 19:32
Ok, i have tried to get this one to work for several hours. I have tried a lots of things on my own
and searched the forum, but no luck.
I just want a certain ai to push an alarm button if it see Garrett with the sword drawn.
I have the frontgate guard metaproperty, and tried edit these properties. I added
frob object in threat response. I even tried to make a new meta property with this extra
settings. The ai is a female noble. I welcome all ideas.
Daraan on 22/8/2013 at 20:30
If I remember correctly threat response triggers only when you raise the weapon via left click so just drawing itis no thread response. Can't test it on my laptop without thief.
Maybe you can do something with NVNewWeapon it gives your weapon a MetaProp and sends a InitArm message when the weapon is drawn. Would be nice with a AISeesPlayer Script
If that AI is very static you make want to use that script and a TrigRoom together with a RAT.
Beltzer on 22/8/2013 at 20:49
Yes, the ai become hostile when i swing the sword. So the response is working.
But the problem is that its not working if add lines in the frontgate guard meta property after i added it on the ai. And, if i place a new ai and add that meta property, it also got these extra lines.
I dont understand a thing about what you wrote about the NVNewWeapon, i have not a clue how to set that up :p
Why is things who should be easy to setup, so hard sometimes? Thats Dromed :eww:
LarryG on 22/8/2013 at 21:57
Um, if you add "lines" (additional properties??) to a metaproperty then everything that has the metaproperty gets everything in the metaproperty. A metaproperty is just a collection of properties with a name you can reference. You can't change the metaprop for just one use. You would need to make a new metaprop and use that instead.
Or did I misunderstand what you were trying to describe?
Beltzer on 22/8/2013 at 22:14
No, you understand it right. I'm not so good in describe problems sometimes, especially when i'm tired as i am now.
When i realized that i couldn't change the metaprop for just one use, i made a custom one.
But i got got it working with M-AlertCapZero instead of M-front Gate Guard, and a threat response.
But when the noble woman pushed the button she just looks around because i had not make a flee point.
When i add one, she just skip the frob button and runs away.
I tried with a sword guard, but he just take one steps to the button the apparently changes his mind and runs
toward me to attack.
FireMage on 22/8/2013 at 22:36
The sounds can emit some "Signal" with what you can do Signal response.
I'm curious to know if it will work if you do that the "Unsheat" sound emit a signal, or if your sword emit a "Silence" sound.
Maybe it will work...
Beltzer on 22/8/2013 at 22:40
I have been curious about that emit "stuff". I have never used it, so i have not a clue how it works
or what its for. Maybe its time to read about it.
FireMage on 22/8/2013 at 23:00
Yes R Soul, it will work if the AI is static ;)
Although, If the guards are like in Undercover with patrol etc. This method is to avoid because the AI will be alerted when he will be in the last place where you sheath your weapons. :erg:
Beltzer on 22/8/2013 at 23:11
R Soul, it works perfect :thumb: I think, i have to test it some more. And its an ai who stands still in a reception,
so it seems to work well. Thanks for all the tips :)