Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - NearExtinctionEvent

#1
I was attempting to use structs for an RPG I started building, and following the manual. The managed struct itself is defined in the header, and has the factory module from the examples in the manual. I used the factory module to create an instance, but I've had trouble getting it out of GlobalScript and into rooms.

When I have an import call in the header, I get the error 'Local variable cannot have the same name as an import'. When I attempt to run the factory in the header or room where I need the instance, I get the error 'cannot assign initial value to global pointer'.

How would I go about making this work?
SMF spam blocked by CleanTalk