Glitch
Member
Hi guys, what is the flag for entity being able to be grabbed?
I want to switch off the ''cantgrab 1'' header only in a certain pain animation, because entity has ''cantgrab 1'' in header all other pain animations will not cause entity to be grabbable.
I require it to work as follows:
Only when player attacks with ''attack 7'' will enemy then be grabbable in ''pain 7''.
An in file script in ''pain 7'' will do it, but what should the script line be?
Something like this perhaps?:
@cmd changeentityproperty getlocalvar("self") "aiflag" "cantgrab" 0
Tried that line but it does not work, even tried ''nograb'' instead, still does not work, any assistance would be greatly appreciated
I want to switch off the ''cantgrab 1'' header only in a certain pain animation, because entity has ''cantgrab 1'' in header all other pain animations will not cause entity to be grabbable.
I require it to work as follows:
Only when player attacks with ''attack 7'' will enemy then be grabbable in ''pain 7''.
An in file script in ''pain 7'' will do it, but what should the script line be?
Something like this perhaps?:
@cmd changeentityproperty getlocalvar("self") "aiflag" "cantgrab" 0
Tried that line but it does not work, even tried ''nograb'' instead, still does not work, any assistance would be greatly appreciated