ID:271677
 
Ok, this is probably something very simple... but I've been trying and can't figure it out...

1. How do I change icon states from moving to... resting, then have it change back afterwards? I have rest as an overlay right now, but I have the base icon with a rest state and can't figure out how to change it back when the resting time is up. Also, I'm not sure how to make rest restore a certain amount of HP per second, then stop when it reaches the max, so I have it set to 8 seconds for a full rest right now... any help would be great!

2. How would I freeze another player? I have a verb that's called Freeze(M as mob in oview(3)) to freeze a player in my view, but I can't figure out how to make them stop moving and actually stay frozen for a set amount of time. I'm fairly new to coding so I can't figure it out =\

3. This is probably complicated... but I have an object that when used is supposed to kill whoever's name I type in it. I know how to promt to ask who I want to kill, but I'm not sure how to actually make it work and kill the player WITH that name.

4. I want to add a beam like DBZ's Kamehameha into the game, and I have the icons done, but I can't figure out how to get the trail to work, and then to delete when it hits a person. I tried using someone's tutorial in the Demos, but it didn't piece together right, and you could see the trail was being dragged across the screen =\

5. How do I control an NPC and make it attack a player? Say I had a monkey, and I can have it follow me and all, but how would it or (if I had many monkeys) they attack a person? Like bunshins in naruto, except with already made NPC's.

If you can help with any one of the five, please tell me! Any help would be much appreciated... This is Aaiske Drew, not Damian by the way. He's a better coder than me but is busy with things, so I had to come here for help =\ Thank you much in advance! <3
1.A. How do I change icon states from moving to... resting, then have it change back afterwards? I have rest as an overlay right now, but I have the base icon with a rest state and can't figure out how to change it back when the resting time is up.

Uh, redefine the icon_state as you probably did to change it to the resting state.

1.B. Also, I'm not sure how to make rest restore a certain amount of HP per second, then stop when it reaches the max, so I have it set to 8 seconds for a full rest right now... any help would be great!

Loops are very useful... look up while() and/or for()

2. How would I freeze another player? I have a verb that's called Freeze(M as mob in oview(3)) to freeze a player in my view, but I can't figure out how to make them stop moving and actually stay frozen for a set amount of time. I'm fairly new to coding so I can't figure it out =\

There is a reason for 'Forum Search', this question was asked before a few times with answers... ex: [link]

3. This is probably complicated... but I have an object that when used is supposed to kill whoever's name I type in it. I know how to prompt to ask who I want to kill, but I'm not sure how to actually make it work and kill the player WITH that name.

Look up input(). Make sure you make a list containing all the killable players.

4. I want to add a beam like DBZ's Kamehameha into the game, and I have the icons done, but I can't figure out how to get the trail to work, and then to delete when it hits a person. I tried using someone's tutorial in the Demos, but it didn't piece together right, and you could see the trail was being dragged across the screen =\

You probably want to directly modify Move(). See if the step was successful via ".=..()' and if "." is true, place a trail icon underneath... or look for a better demo :x If you do not know what I mean by checking if it is true, read about boolean shortcuts

5. How do I control an NPC and make it attack a player? Say I had a monkey, and I can have it follow me and all, but how would it or (if I had many monkeys) they attack a person? Like bunshins in naruto, except with already made NPC's.

You need to program an AI, duh. As for how to do it... *shrugs* many different ways. Look up oview(), locate() and for() for ideas on what to use.
In response to GhostAnime
Thank you much.