File tree 6 files changed +12
-12
lines changed
addons/block_code/blocks/communication
6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Add the node into the group"
17
17
category = "Communication | Groups"
18
18
type = 2
19
19
variant_type = 0
20
- display_template = "add {node: OBJECT} to group {group: NIL }"
21
- code_template = "{node}.add_to_group(\\\" {group}\\\" )"
20
+ display_template = "add {node: OBJECT} to group {group: STRING }"
21
+ code_template = "{node}.add_to_group({group})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_sus0f" )
24
24
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Add this node into the group"
17
17
category = "Communication | Groups"
18
18
type = 2
19
19
variant_type = 0
20
- display_template = "add to group {group: NIL }"
21
- code_template = "add_to_group(\\\" {group}\\\" )"
20
+ display_template = "add to group {group: STRING }"
21
+ code_template = "add_to_group({group})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_fk0wa" )
24
24
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Calls the method/function on each member of the given group"
17
17
category = "Communication | Methods"
18
18
type = 2
19
19
variant_type = 0
20
- display_template = "call method {method_name: STRING} in group {group: NIL }"
21
- code_template = "get_tree().call_group(\\\" {group\\\" }, {method_name})"
20
+ display_template = "call method {method_name: STRING} in group {group: STRING }"
21
+ code_template = "get_tree().call_group({group}, {method_name})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_f4ctg" )
24
24
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Is this node in the group"
17
17
category = "Communication | Groups"
18
18
type = 3
19
19
variant_type = 1
20
- display_template = "is in group {group: NIL }"
21
- code_template = "is_in_group(\\\" {group}\\\" )"
20
+ display_template = "is in group {group: STRING }"
21
+ code_template = "is_in_group({group})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_d0v0d" )
24
24
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Is the node in the group"
17
17
category = "Communication | Groups"
18
18
type = 3
19
19
variant_type = 1
20
- display_template = "{node: OBJECT} is in group {group: NIL }"
21
- code_template = "{node}.is_in_group(\\\" {group}\\\" )"
20
+ display_template = "{node: OBJECT} is in group {group: STRING }"
21
+ code_template = "{node}.is_in_group({group})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_o38ym" )
24
24
}
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ description = "Remove this node from the group"
17
17
category = "Communication | Groups"
18
18
type = 2
19
19
variant_type = 0
20
- display_template = "remove from group {group: NIL }"
21
- code_template = "remove_from_group(\\\" {group}\\\" )"
20
+ display_template = "remove from group {group: STRING }"
21
+ code_template = "remove_from_group({group})"
22
22
defaults = {
23
23
"group" : SubResource ("Resource_45b71" )
24
24
}
You can’t perform that action at this time.
0 commit comments