OBD:BINA/PAR3/Actions: Difference between revisions

From OniGalore
< OBD:BINA‎ | PAR3
Jump to navigation Jump to search
mNo edit summary
m (typo; no need for header)
 
Line 1: Line 1:
==Action types==
An action can take at most 8 parameters. There can be input parameters (red in the table below) and output parameters (green in the table below). Output parameters can only be variables (they correspond to the "variable references" section in the action definition).
 
An action can take at most 8 parameters. There can be input parameters (red in the table below) and output parameters (green in the table below). Output parameters can only be variables (they corespond to the "variable references" section in the action definition).


{{Table}}
{{Table}}

Latest revision as of 16:48, 14 October 2021

An action can take at most 8 parameters. There can be input parameters (red in the table below) and output parameters (green in the table below). Output parameters can only be variables (they correspond to the "variable references" section in the action definition).

ID Description Param 1 Param 2 Param 3 Param 4 Param 5 Param 6 Param 7 Param 8
0 Linear Change float var float rate
1 Acceler. Change float var float anim_vel float accel
2 Random Change float var float min float max float rate
3 Pingpong Change float var pingpong_state pingpong float min float max float rate
4 Looping Change float var float min float max float rate
5 Change To Value float var float rate float endpoint
6 Color Blend color var color color_0 color color_1 float blendval
8 Fade Out float time_to_die
9 Enable Action action_index action float lifetime
10 Disable Action action_index action float lifetime
11 Die
12 Set Lifetime float time
13 Enable Emitter emitter emitter_num
14 Disable Emitter emitter emitter_num
15 Emit Particles emitter emitter_num float particles
16 Change Class emitter emitter_num
17 KillLastEmitted emitter emitter_num
18 ExplodeLastEmit emitter emitter_num
20 Start Amb Sound string sound
21 End Amb Sound
23 Impulse Sound string sound
26 Damage Char float damage float stun_damage float knockback damage_type damage_type boolean self_immune boolean can_hit_mult
27 Blast Damage float damage float stun_damage float knockback float radius blast_falloff falloff damage_type damage_type boolean self_immune boolean damage_environ
28 Explode
29 Damage Environ. float damage
30 Glass Charge float blast-vel float radius
31 Stop
33 Rotate X coord_frame space float rate boolean rotate_velocity
34 Rotate Y coord_frame space float rate boolean rotate_velocity
35 Rotate Z coord_frame space float rate boolean rotate_velocity
37 Find Attractor float delaytime
38 Attract Gravity float gravity float max_g boolean horiz_only
39 Attract Homing float turn_speed boolean predict_pos boolean horiz_only
40 Attract Spring float accel_rate float max_accel float desired_dist
47 Apply Velocity
48 Apply Gravity float fraction
49 Spiral float theta float radius float rotate_speed
50 Air Resistance float resistance float minimum_vel
51 Drift float acceleration float max_speed float sideways_decay float dir_x float dir_y float dir_z coord_frame space
52 Set Speed float speed coord_frame space boolean no_sideways
53 Spiral Tangent float theta float radius float rotate_speed
54 KillBeyondPoint axis direction float value
55 Create Effect string classname float wall_offset collision_orient orientation boolean attach
56 Stick To Wall
57 Bounce float elastic_direct float elastic_glancing
59 Chop Particle
60 Impact Effect string impact_type impact_modifier impact_modifier
62 Unhide Particle
63 Hide Particle
64 Set TextureTick float tick
65 Random TexFrame
70 Set Variable float var float value
71 Recalculate All
72 Enable Above action_index action float var float threshold
73 Enable Below action_index action float var float threshold
74 Enable Now action_index action
75 Disable Now action_index action
77 SuperB Trigger emitter emitter_num float fuse_time
78 BreakableStop
79 Avoid Walls float axis_x float axis_y float axis_z float cur_angle float t_until_check float sense_dist float turning_speed float turning_decay
80 Random Swirl float swirl_angle float swirl_baserate float swirl_deltarate float swirl_speed
81 Follow Player float height
82 Stop BelowSpeed float speed
83 Super Particle float variable float base_value float delta_value float min_value float max_value
84 Stop Our Link
85 Check Link
86 Break Links To