I wanna change the effect where the target just stands there as its really not giving anything- you can't even attack the charmed target. So I wanna make it guard the caster as the original spell would do... but I have no clue how to start... any ideas?
How can I get the charm effect to have the target guard the caster?
Débuté par
psiiijay
, mars 02 2013 02:53
#1
Posté 02 mars 2013 - 02:53
#2
Posté 03 mars 2013 - 09:24
Ok, I'll give more details- I want to get the spell to set the caster as the oMaster + make the target command-able for 1 sec In which the command will be to guard the caster.
Now, setting the master and the commandable status is easy, but I don't have any idea how to command it to guard the caster as I don't know what function that is...
Now, setting the master and the commandable status is easy, but I don't have any idea how to command it to guard the caster as I don't know what function that is...
#3
Posté 04 mars 2013 - 12:46
i believe the GuardMe command is dependent on the AI scripts. which means you might be looking at setting the charmed creature's AI scripts (or some of them) to those of a companion (but how to turn them back once the charm wears off?). However, IF that's set up, the GuardMe command can be issued automatically via script ...
it's a long & winding road,
you might be able to do something simpler like setting its Faction to Defender (more or less temporarily..) which could provide some amusement, for a bit
- factions are difficult to work with, but the AI is harder.
it's a long & winding road,
you might be able to do something simpler like setting its Faction to Defender (more or less temporarily..) which could provide some amusement, for a bit
- factions are difficult to work with, but the AI is harder.
#4
Posté 04 mars 2013 - 01:36
Charm isn't the same as dominate. The charmed creature isn't going to turn on his allies; he's merely not going to attack the caster.
#5
Posté 04 mars 2013 - 01:48
rjshae - thats what i want to change. in the real game he will.
kevL- the only prob with this is- how do I get a function to get the creatures faction before he changes to defender so i can get him back to his original state?
kevL- the only prob with this is- how do I get a function to get the creatures faction before he changes to defender so i can get him back to his original state?
#6
Posté 04 mars 2013 - 02:17
uhh, yehh
I think what i did was create a faction pig on-the-fly (sic) and script its faction to change ( ChangeFaction() ) to that of the creature that's about to change ...........
expect bugs, holes, and general swilling at the trough ;x
then reverse that process (including deleting the pig).
ps. Search Script Assist for "faction" i guess
I think what i did was create a faction pig on-the-fly (sic) and script its faction to change ( ChangeFaction() ) to that of the creature that's about to change ...........
expect bugs, holes, and general swilling at the trough ;x
then reverse that process (including deleting the pig).
ps. Search Script Assist for "faction" i guess
#7
Posté 04 mars 2013 - 03:10
As I read it on the SRD (I assume that's what you mean by the real game), a charmed person will not attack his allies unless you also win an additional opposed charisma check after the charm is in effect. It also says that you should not have any direct control over the charmed person, and that it will never obey any command to do anything suicidal or obviously harmful to himself.psiiijay wrote...
rjshae - thats what i want to change. in the real game he will.
Modifié par Tchos, 04 mars 2013 - 03:11 .
#8
Posté 04 mars 2013 - 03:33
well fixed it, it works fine now thanks everyone.
and from what I remember if you play the game well you can make the target think that his friends are actually illusions or controlled or something - as the caster will seem as the targets BEST AND DEAREST FRIEND thats from the first versions I know from when I used to play it 20 years ago...
and from what I remember if you play the game well you can make the target think that his friends are actually illusions or controlled or something - as the caster will seem as the targets BEST AND DEAREST FRIEND thats from the first versions I know from when I used to play it 20 years ago...
#9
Posté 19 mars 2013 - 03:10
kL wondered...
i believe the GuardMe command is dependent on the AI scripts. which means you might be looking at setting the charmed creature's AI scripts (or some of them) to those of a companion (but how to turn them back once the charm wears off?). However, IF that's set up, the GuardMe command can be issued automatically via script ...
it's a long & winding road,
Get/SetEventHandler()
#10
Posté 26 mars 2013 - 06:13
Yeah thanks... Its hardcoded I think





Retour en haut






