Thanks.
This was the root of my problems. Thanks for the help. I had found an old example. I'm assuming that it was probably pseudo code because changing struct to record fixed it.
1) I found an example somewhere that implys this code should work. Anyone know what I'm doing wrong?
struct MyStruct
{
int myInt;
}
void main()
{
MyClass test;
test.myInt = 5;
}
I'm getting this error "Expected ;, found { (test.ash, line 2)"
2) Is there a way to ask mafia what a...
I just wanted it so I could double check to see if I really was overkilling each time without more sever hits.
Example:
int part_count = get_count();
#Using the session result should be pretty safe as long as the user isn't changing things while the script runs. Even then it will just abort...
I'm trying to write a script that auto-collects hobo parts. Mafia know when a hobo is overkiled because it can see that a hobo part wad dropped. I can see it appear in the Session Results tab. Is there any way to find out how many mafia thinks I have from inside an ash script?