BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 #takeactor#

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
NihilBaxter Posted - 05 Nov 2016 : 22:32:33
I'm working on a script and hope someone can help me to get actors saved to the dataset of a movie.
This is how the "ACTOR" part of the script looks like:

#ACTORS#
#STARTREADWEB#
#FINDLINE#=<strong>Actor</strong>:#11#
#RESETCURSOR#
#FIND#=:#12#
#COMPUTEVAR#=#12#+1
#COMPUTECURSOR#=+2
#FIND#=<#13#
#TAKEWORD#=#14#,#12#,#13#
#CHECKVARIABLE#=#14#
#CLEARTAGS#
#STARTDELETETAGS#
#STARTSUBSTITUTETAGS#
#TRIM#
#TAKEACTOR#=#14#
#ENDACTORS#

In XMM7 this works fine, but not in XMM8 and XMM9.
The strange thing is that the actor is always correctly parsed and saved to #14# using #TAKEWORD#.
But #TAKEACTOR# doesen't seem to work, as nothing is saved to the movie dataset. The actor field stays empty.
If I use for example #TAKEDIRECTOR# instead of #TAKEACTOR# with exactly the same script it works. The actor ist saved as Director to the dataset.
Any suggestions what is wrong?

Thanks in advance,
NB
3   L A T E S T    R E P L I E S    (Newest First)
JDommi Posted - 06 Nov 2016 : 15:02:56
You're welcome!
NihilBaxter Posted - 06 Nov 2016 : 13:21:42
Thank you for your help.
Now it's working fine.
JDommi Posted - 05 Nov 2016 : 23:26:42
You simply have forgotten to pass ALL parameters to the #TAKEACTOR# command.

//Now Remember to STRING the informations like here!!!     
    #STRING#=#15#=#13#§#14#§#16#

#TAKEACTOR#=#XX# (Name§Character§WebID)

I can only recommend my Script Debugger plugin (Menu Ribbon: MagicScript -> Open Script Debugger). A lot of errors in a script are shown directly and you can see a little help on nearly every command in the status line or by pressing F1 on a keyword.

*EDIT*
In your case you have to pass "Name§§" to the #TAKEACTOR# command.

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.07 sec. Powered By: Snitz Forums 2000 Version 3.4.07