In the connected code the agent gets sent from one creative device to another, and is supposed to be granted a weapon in the second creative device but they are not given the weapon. I’ve been struggling with this problem the last couple days and I’ve changed and configured all the devices and rewritten all the functions numerous times, but I still cant get this to work as it seemingly should. Any help would be much appreciated.
The “Temp” class does NOT have an item granter, Because on Temp2 Line 21 you are making a new instance of the Temp class which means the editable is irrelevant.
Try adding the @editable Item Granter to temp2 while keeping the item_granter_device (and removing the @editable from temp) and replace line 21 with
T:temp=temp{ItemGranter:=ItemGranterDeviceReference}
also there’s no need for Temp class to be of (creative_device)
1 Like
This works, thank you very much!
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.