Hey guys, I'm working on a game and I asked a more important question earlier, but this problem I have is very small I just don't know how to do it.

So what I'm trying to do is make a sort of chat room in which people can post pics in the output panel... I successfully did this, but when I tried to apply it to animated pics it didn't work, it just showed its last state.

This is my coding:

set src in view()
set category = "Emote"
set name = "Icon Emote"
set src in view()
var/b = (input("What Category of Icons do you want to use?","Category Selection") in list("Love","Peace","Holy", "Words"))
if(b == "Love")
var/c = (input("What Icon from the Love Category do you want to use?","Icon Selection") in list("Solid Heart", "Heart Twinkle", "Love"))
if(c == "Solid Heart")
view() << output(new /obj/Heart/Solid_Heart) //This works perfectly with output from view()
if (c == "Heart Twinkle")
view() << output(new /obj/Heart/Heart_Twinkle) // So does this

//With the next part of the code, I tried it the same way and it didn't work
//I figured I need to use the flick() proc to do it, but I don't know how to mix:
//I don't know how to mix view()<< output(args) with flick()
if (c == "Love")
var/obj/P = flick("Loving", src)
view() << output(P)

else return 1
else return 1

Problem description:The problem is I don't know how to make it so it the output panel I can put an animated pick for everyone in view() or world <<


Login to reply.