egemert35 Posted April 2, 2013 Author Share Posted April 2, 2013 Hello everybody.I looked Google but i couldn't find anything about this topic.How can i add standby time before "SendAnimation (Player(Index).Map), HICCUP_ANIM, (Player(Index).x), (Player(Index).y)" .```Call SetPlayerPOINTS(index, GetPlayerPOINTS(index) + 3)Call SetPlayerExp(index, expRollover)Select Case GetPlayerLevel(index)Case 16If GetPlayerClass(index) = 1 ThenSendAnimation (Player(Index).Map), HICCUP_ANIM, (Player(Index).x), (Player(Index).y)SetPlayerClass index, 6SetPlayerSprite index, 2SetPlayerStat index, Strength, GetPlayerStat(index, Strength) + 10SetPlayerStat index, Endurance, GetPlayerStat(index, Endurance) + 10SetPlayerStat index, Agility, GetPlayerStat(index, Agility) + 5SetPlayerStat index, Intelligence, GetPlayerStat(index, Intelligence) + 10SetPlayerStat index, Willpower, GetPlayerStat(index, Willpower) + 10SendStats indexEnd IfEnd Select``` Link to comment Share on other sites More sharing options...
troglodite Posted April 2, 2013 Share Posted April 2, 2013 What you really want to do? I didnt understand Link to comment Share on other sites More sharing options...
egemert35 Posted April 2, 2013 Author Share Posted April 2, 2013 Sorry my English is bad.I edited first mesage.Do you understand now? Link to comment Share on other sites More sharing options...
egemert35 Posted April 2, 2013 Author Share Posted April 2, 2013 Somebody? Link to comment Share on other sites More sharing options...
Matt Posted April 2, 2013 Share Posted April 2, 2013 I don't understand what you want to achieve. Do you want to make an idle animation when the player doesn't do anything for some time? Link to comment Share on other sites More sharing options...
egemert35 Posted April 2, 2013 Author Share Posted April 2, 2013 Example;When player is to 16 level, he must wait 4 second for appear the animation on him. Link to comment Share on other sites More sharing options...
troglodite Posted April 3, 2013 Share Posted April 3, 2013 I think I understand, you want to "block" for 4 seconds the player when he gets lvl 16, and then an animation appears on him.The animation appears when he get blocked, or the 4 seconds later? Link to comment Share on other sites More sharing options...
azkanan Posted April 3, 2013 Share Posted April 3, 2013 Player levels up, **pause/delay code**, animation plays. Link to comment Share on other sites More sharing options...
egemert35 Posted April 3, 2013 Author Share Posted April 3, 2013 Thanks for comments.I added Sleep code and my problem is SOLVED.```Sleep 4000``` 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