spectrelead Posted August 27, 2008 Author Share Posted August 27, 2008 ok I have been trying to add scipted characters and spells to my game, but I don't know how. I tell it to script it and I got a number line like 0-1000. I know text should be there like items, but I don't fully understand since I am new to scripting. I have been trying to add the Statspy spell which I have been having trouble with.This is what I got, not mine> If Int(GetPlayerTarget(Index)) < 0 Then> Call PlayerMsg(index, "You do not have anyone targeted", 15)> exit sub> else> Call PlayerMsg(index, "Target's Stats:", 12)> Call PlayerMsg(index, "HP: " & GetPlayerHP(player) & "/" & GetPlayerMaxHP(player), 15)> Call PlayerMsg(index, "MP: " & GetPlayermp(player) & "/" & GetPlayermaxmp(player), 15)> Call PlayerMsg(index, "Strength: " & GetPlayerSTR(player), 15)> Call PlayerMsg(index, "Defence: " & GetPlayerdef(player), 15)> Call PlayerMsg(index, "Magic: " & GetPlayermagi(player), 15)> Call PlayerMsg(index, "Speed: " & GetPlayerspd(player), 15)> end ifand where do I put this?> Call StatSpy(index)Can someone please help I don't understand Link to comment Share on other sites More sharing options...
Oizumi03 Posted August 28, 2008 Share Posted August 28, 2008 Try asking in the scripting forum, not sure if someone can help you here. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now