HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Invunerable/Vunerable Trigger Question

09-13-2003, 10:35 PM#1
[RI]Dragoon
Can you make a unit invunerable to one player but vunerable to another player?
If anyone knows how please tell me

Thanks
09-13-2003, 10:46 PM#2
DoCa-Cola(OLD)
So one player can attack it, while another one cant?? I dont think that's possible...
09-13-2003, 11:04 PM#3
[RI]Dragoon
The reason for this is during an rpg I want the computer to be able to attack neutral passive, and yet have the players playing the rpg not be able to attack the passive units. So it makes the rpg more realistic.

I also am looking for ways other then triggers to accomplish this, because I do believe it's impossible to accomplish with triggers.
09-13-2003, 11:26 PM#4
Thunder-Hunter
It is possible, it all has to do with targeting and Unit Classifications.
09-14-2003, 01:30 AM#5
35263526
dude, it makes the RPG less realistic. How is it more realistic if on a whim a play decides to kill a sheep and cant even raise his sword? It may be annoying, but it certainly is more realistic if a player can just kill someone if he feels like it.

Make a trigger:

EVENTS
A generic unit is attacked.

CONDITIONS
Player type of controller of attacking unit equal to computer
Controller of attacked unit equal to Neutral Passive

ACTIONS
Set life of attacked unit equal to 100%

This wont stop them attacking, but it means they can't mess up the story by killing characters.

p.s. I think the triggers will work but they might not be worder correctly. They do give the gist though.