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

Messages - Worse_Username

#1
Managed to solve the issue. Apparently, MaxProperties being set to 1 by default was causing it. After setting it to a higher value everything started working.
#2
Hello, I'm having some trouble with the module. There were no apparent problems when importing it, the autocomplete feature immediately started suggesting functions from the module. But I can't get the Properties::Create function to work. I've tried it multiple times in different ways to no avail.
Eventually I've managed to conclude, that the function simply doesn't work. For example, I assigned this code to an object interaction:
Code: AGS
Properties.Create("p", 100);
Display ("Does p exist:%d", Properties.Exists("p"));

It displays "Does p exist:0". This left me completely dumbfounded. Why would something so simple not work? There doesn't seem to be anything similar to my problem in this thread.

I've tried the above code without creating any other custom properties through script or even AGS GUI. I'm using the latest versions for both this module (v3.12) and AGS (3.2.1). I'm running it on Windows XP.

Is this a bug or am I still missing something? Thanks.

SMF spam blocked by CleanTalk