Oops, one more thing: When Usecode is called from the script as above, the 'event' value is set to 2. These values also should have symbolic names, and right now, the only description in them is in the source file 'usecode/ucmachine.h'.
Looks like it's time for me to start working on this again.
[sorta OT] Looking for help :)
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Posts: 1241
- Joined: Thu May 14, 2020 1:34 pm
Re: [sorta OT] Looking for help :)
Some named constants would certainly be nice.
Is there a way for me to program global variables without them having to be flags?
~ Wizardry Dragon
Is there a way for me to program global variables without them having to be flags?
~ Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
-
- Posts: 1241
- Joined: Thu May 14, 2020 1:34 pm
Re: [sorta OT] Looking for help :)
Another thing, I can get the party remove items function to work fine to take away gold, but I cannot get the party add function to work to add the item I'm giving the player in exchange for the gold.
~ Wizardry Dragon
~ Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Re: [sorta OT] Looking for help :)
U7 doesn't have global variables, other than the flags. It's something I've been thinking about adding to Exult fairly soon.
-
- Posts: 1241
- Joined: Thu May 14, 2020 1:34 pm
Re: [sorta OT] Looking for help :)
Okay, definetly soemthing to add
Any thoughts on why items will remove but not add?
Want me to post the snippet?
~ Wizardry Dragon
Any thoughts on why items will remove but not add?
Want me to post the snippet?
~ Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Re: [sorta OT] Looking for help :)
Sure, go ahead. Adding ought to work, and I can try it tonight at home.