Non-Scripter [2/5]Beginner [2/5]Advanced Scripter [1/5]Expert [1/5]Pro Scripter [1/5]
Sub ScriptedSpell(index, Script)Dim FlyingSelect Case Script Case 0 Flying= GetVar("Fly.ini", GetPlayerName(index), "Flying") If Flying = 1 Then Call PutVar("Fly.ini", GetPlayerName(index), "Flying", 0) Call SetPlayerClass(index, GetVar("FlyData.ini", GetPlayerName(index), "NormalClass")) Call SetPlayerSprite(index, GetVar("FlyData.ini", GetPlayerName(index), "NormalSprite")) Else Call PutVar("Fly.ini", GetPlayerName(index), "Flying", 1) Call PutVar("FlyData.ini",GetPlayerName(index), "NormalClass", GetPlayerClass(index)) Call PutVar("FlyData.ini", GetPlayerName(index), "NormalSprite", GetPlayerSprite(index)) Call SetPlayerClass(index, GetVar("FlyConfig.ini", "Config", "FlyClass")) Call SetPlayerSprite(index, GetVar("FlyConfig.ini", "Config", "FlySprite")) End IfEnd Select End Sub
[Config]FlyClass=#FlySprite=$
Courage is not the absence of Fear. It is the presence of Fear but the will to go on...
what exactly does it do? change the sprite? or just.. make the sprite look bigger and make a shadow below it? or get past through blocked tiles?