hello, im making an mp mission (please dont move this mods)
i want to make a respawn protection that is more advanced than the "kill anything in this trigger" type thing.
instead, i wanna make a system that gives the side who's respawn has been violated, the chance to get revenge on the violator (hehehe).
what i did was make a trigger that is activated by west present
on activation i put "removeallweapons _x; _x setpos getpos Cage" foreach thislist
repeatedly
what it does is takes the violators guns away, and puts him in a cage where he is helpless to defend himself, and the enemy gets a free kill.
the 2 problems im having is that when one person activates it, any person after him is not affected. for example, joe blow walks into enemy respawn, and gets take prisoner. but his good buddy Mark walks into the enemy respawn, but nuthin happens to him
am i writing the script innapopriately?!?!
another problem im having is, if the person is in a vehicle, he and the vehicle is placed in the cage, and he runs over the fence, thus ruing the neat little cage i made. how can i detect if the violator is in a vehicle, remove the vehicle, eject the ciolator, and place him in the cage???
any help will be EXTREMELY APPRECIATED ;D ;D ;D
thanks
Tai Mai Shu