Skip to content

Commit ace8805

Browse files
author
rdeioris
authored
Update uobject_API.md
1 parent 6827ebd commit ace8805

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

uobject_API.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ value = uobject.get_property('name')
6969

7070
get the property value of a uobject
7171

72-
NOTE: currently only floats and objects values are supported
72+
NOTE: currently structs are not supported
7373

7474

7575
---
@@ -79,7 +79,7 @@ uobject.set_property('name', value)
7979

8080
set the property of a uobject
8181

82-
NOTE: currently only floats and strings values are supported
82+
NOTE: currently structs are not supported
8383

8484
---
8585
```py
@@ -109,6 +109,15 @@ This methods allows you to interface with basically every engine features, but i
109109

110110
Use it for calling blueprint functions, or while waiting for the addition of new specific-methods in the uobject api ;)
111111

112+
---
113+
```py
114+
ret = uobject.call_function('function', arg0, arg1, argN....')
115+
```
116+
117+
the advanced companion of 'call'. This is a more advanced way for calling UFUNCTION's and for getting their return value.
118+
119+
Note: structs are not supported
120+
112121
---
113122
```py
114123
actor = uobject.get_owner()
@@ -190,6 +199,8 @@ return True if the actor has a component of the specified type
190199
---
191200
```py
192201
yesno = uobject.get_actor_component_by_type(uclass)
202+
# alias
203+
yesno = uobject.get_component_by_type(uclass)
193204
```
194205

195206
return the first component (of an actor) of the specified type

0 commit comments

Comments
 (0)