You are not logged in.
Does anyone know how to make a character immune to any form of weapon base attacks like the bots at the conversion center interior level?
Offline
http://wiki.oni2.net/BSL:Functions
chr_weapon_immune [ai_name:string | script_id:int] - makes a character weapon immune - chr_weapon_immune(vat_bot_1); // chr_weapon_immune 0
That should do it.
Offline
Oh thank you but too bad this is not part of the ONCC
Offline
Well, not the ONCC, but the BINACHAR that represents a specific character can at least be set up to call the chr_weapon_immune or chr_boss_shield functions upon spawn (see <Scripts> section of http://wiki.oni2.net/XML:BINA/OBJC/CHAR).
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
Awesome!! Then I guess I add something like that for level0_final so the character will have the immunity in any level. I am making a character that was inspired by gengar and mismagius. But since it is impossible to make physical contact not affect character apart from using super shield, which I don't want, so I want to make it just immune to weapons and throws but have weak physical damage and have very low evade chances and low hp, like 200 or maybe lower. However has strong particle attacks and dodge a lot
Offline
Yeah you can probably use the global folder so the script is executed in every level:
http://wiki.oni2.net/IGMD/global
Probably, although doesn't work with player's shapeshifter?
Last edited by s10k (03/11/17 18:03)
Offline
Oh yeah that's another thing as well. It only works on the character with the name it is assigned to
Offline