I do not understand what is going on here. The same code structure with fort_characters work fine, but somehow trigger_devices are not comparable? how do I work around this issue?
1 Like
Hello @Hcax1, currently Creative Devices are not comparable as they are not classes, so they can’t be compared like what fort_character
is supporting. This is something we’re looking to support in a future release, but nothing is confirmed.
2 Likes
In this case your easiest workaround is just dealing with/passing the index of the trigger device. Otherwise, your options are creating a wrapper class with the specifier so it is comparable.
A last janky option is checking the Transform of a device to compare it with other devices.
3 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.