489
edits
Script 10k (talk | contribs) m (chr_wait_health health_amount is an int32 not float) |
Script 10k (talk | contribs) (new finding about chr_main_class with index) |
||
Line 208: | Line 208: | ||
*chr_lock_active [ai_name:string | script_id:int] - locks the character active - chr_lock_active IntroMuro | *chr_lock_active [ai_name:string | script_id:int] - locks the character active - chr_lock_active IntroMuro | ||
*chr_main_class [class_name:string | class_index:int] - sets the main characters class - chr_main_class striker_easy_1 | *chr_main_class [class_name:string | class_index:int] - sets the main characters class - chr_main_class striker_easy_1 | ||
'' | ''If you provide an index > than the available number of characters (nc), the engine will automatically subtract the number of characters how many times as needed to find a proper character index. For instance if you have nc = 85 and you input chr_main_class(180), the engine will change your class to the index 10 (180-85-85)'' | ||
''The practical effect seems to be different than chr_set_class (besides the parameters). For example with chr_main_class(ninja_hard_1) your ninja will be right handed while with chr_set_class(0,ninja_hard_1) your ninja will be left handed.'' | |||
*chr_neutral [ai_name:string | script_id:int] passive:int{0 | 1} - stops an AI from thinking for itself - chr_neutral ParkStriker 1 | *chr_neutral [ai_name:string | script_id:int] passive:int{0 | 1} - stops an AI from thinking for itself - chr_neutral ParkStriker 1 | ||
*chr_nocollision [ai_name:string | script_id:int] on_off:int{0 | 1} - disables collision for a character - chr_nocollision 0 1 | *chr_nocollision [ai_name:string | script_id:int] on_off:int{0 | 1} - disables collision for a character - chr_nocollision 0 1 |
edits