Mogster
Member
I'm relatively familiar with how to assign attachments to players. However, I find myself getting stuck when trying to do checks for said attachment.
Here we have an attachment - called WaS. It's assigned a value of 1 to 5 and I'm using GETONTRIGMOB to check that value as the Condition in XMLDialog:
However the following doesn't appear to operate in the manner it's intended. Attachments have been a little harder for me to try to grasp in XMLDialog, simply because the only way to determine the correct syntax is to search for the appropriate XMLspawner script and extrapolate what you can.
Essentially, I am trying make a Condition where an attachment assigned to the player has a value which has to be equal to the number 5.
Condition: GETONTRIGMOB/ATTACHMENT/XMLData,WaS,5
Action: SET,HappyFox/DoRespawn/True
So, in this instance - I only want the HappyFox spawner to respawn if WaS has the value of 5. However, it doesn't appear to work. Can anyone point where I'm going wrong here?
Here we have an attachment - called WaS. It's assigned a value of 1 to 5 and I'm using GETONTRIGMOB to check that value as the Condition in XMLDialog:
However the following doesn't appear to operate in the manner it's intended. Attachments have been a little harder for me to try to grasp in XMLDialog, simply because the only way to determine the correct syntax is to search for the appropriate XMLspawner script and extrapolate what you can.
Essentially, I am trying make a Condition where an attachment assigned to the player has a value which has to be equal to the number 5.
Condition: GETONTRIGMOB/ATTACHMENT/XMLData,WaS,5
Action: SET,HappyFox/DoRespawn/True
So, in this instance - I only want the HappyFox spawner to respawn if WaS has the value of 5. However, it doesn't appear to work. Can anyone point where I'm going wrong here?