Armour % damage parameters

Topics regarding Scripting with Reality Factory
Post Reply
Veleran
Posts: 891
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Armour % damage parameters

Post by Veleran » Fri Oct 17, 2008 12:16 am

Does anyone script armour?What to use?TestDamageOrder for getting the initial player health,GetAttribute to get the armour points left,damage to reduce the health of the player and the armour?
I dont know how to use the int parameter for percentage and detract from the health the damage amount the armour receives.
Do i have to make a script for each armour?

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Armour % damage parameters

Post by Juutis » Sun Oct 19, 2008 4:03 pm

Would this be what you're looking for?
http://www.realityfactory.info/forum/vi ... f=8&t=3337
Pain is only psychological.

Post Reply