View Single Post
szmol96 szmol96's Avatar

JCF Member

Joined: Jun 2013

Posts: 83

szmol96 is doing well so far

Aug 20, 2013, 04:23 AM
szmol96 is offline
Reply With Quote
I found something strange in AS. While I was testing my Onslaught script, I used "if (p.teamRed == true)" and "if (p.teamRed == false)" to test for the CURRENT PLAYER's team, but it tests for PLAYER 1's team. Though, i found a solution for this problem. I simply used "if (jjLocalPlayers[1].teamRed == true)" and "if (jjLocalPlayers[1].teamRed == false)", and it worked. See for yourself in my level, just change "jjLocalPlayers[1]" to "p".