*Added $MPD2 to the internal variables for the new (Project Blue) variable system. This will return the second parameter value of the last mpsenddata=x y you recieved (This command is like mpdata=x y only more flexible because of the variable system)
*Added $MPD to the internal variables for the new (Project Blue) variable system. This will return the first parameter value of the last mpsenddata=x y you recieved (This command is like mpdata=x y only more flexible because of the variable system)
*Added new FPI condition mpdata=x y this will check the values from the last mpsenddata=x y that was recieved X is the value you're checking for and Y is the parameter
if you used mpsenddata=10 5, and wanted to check for the 5 you would use mpdata=5 2 or if you wanted to check for the 10 you would use mpdata=10 1
*Added new FPI action mpnewdata=x this will return if there are any currently "unchecked" flags
*Added new FPI action mpsenddata=x y this will allow you to send 2 values at a time to all the other clients in the multiplayer game
These new commands can be used in so many different was (such as kill streaks).
Heres a quick example of them being used to allow for "dynamic" doors.
;Artificial Intelligence Script
;Header
desc = Use Door (Push Open and Push Closed)
;Triggers
:state=0:dimvar=globaldoorids,dimlocalvar=doorid
:state=0,varequal=globaldoorids 0:setvar=globaldoorids 1000
:state=0:addvar=globaldoorids 1,setvar=doorid %globaldoorids
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.png,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt
:state=10,plrdistwithin=60,plrusingaction=1:mpsenddata=%doorid 1,activate=2
:state=10,activated=2:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistwithin=60,plrusingaction=1:activate=0,mpsenddata=%doorid 1
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
:varequal=mpflag %doorid,activated=2:activate=0,setvar=mpflag 0,state=2
:varequal=mpflag %doorid,activated=0:activate=2,setvar=mpflag 0,state=10
;End of Script
![](http://i20.photobucket.com/albums/b222/sandboxjunction/fenixmodlogo.jpg)