Setting Properties In Procedures
Verbojuice
25 Jul 2009, 21:48Hi,
I am trying to create a procedure that will generate room details during the game. I pass the room name to the procedure as a parameter. My test procedure looks like this:
This is supposed to set the room's "generated" flag but the log says ERROR: No such object in 'property <(rmWk); generated>'
Can someone tell me what I am doing wrong? Full code attached if it helps.
Thanks, Verbojuice
I am trying to create a procedure that will generate room details during the game. I pass the room name to the procedure as a parameter. My test procedure looks like this:
define procedure <RoomGenerate>
set string <rmwk; $parameter(1)$>
property <(rmWk); generated>
end define
This is supposed to set the room's "generated" flag but the log says ERROR: No such object in 'property <(rmWk); generated>'
Can someone tell me what I am doing wrong? Full code attached if it helps.
Thanks, Verbojuice
Alex
25 Jul 2009, 22:13It should be
property <#rmwk#; generated>
property <#rmwk#; generated>
Verbojuice
25 Jul 2009, 22:49Thanks Alex - the cries for help will stop eventually 
