Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
McArcher

Giving an object to the dialog?

Recommended Posts

How can I give a variable with type Object to the dialog?

Using local variable (local for a script that starts dialog and waits for its end) doesn't work. Using global variable helps, but, I cannot use 1 temporary variable, because I will have several such dialogs in game, ad if 2 of them change this global tmp_obj at the same time, it will cause a bug in game.

How to give a dialog my Object?

---------- Post added at 06:01 ---------- Previous post was at 05:16 ----------

I've just got an idea.

What if I have a tmp_obj variable, but I don't use publicVariable instructions. This won't be visible to other clients even if they manipulate with tmp_obj ? They will have another tmp_obj, not syncronized with mine?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×