ID:145288
 
Code:
turf
Triggers
IntroMovieTrig
Entered(mob/M)
if(istype(M,/mob))
if(M.seenmovie_intro == 0)
M << "test"
M.IntroMovie()
mob/var
seenmovie_intro


Problem description:
When I remove the check to see if they've already seen the movie, it works fine, but with it there, nothing happens. I kinda need the check there to make sure they don't view the movie every single time they touch the trigger XD;

Considering last time I was calling the proc for the turf instead of mob, I'm pretty sure it's just another newbish mistake...but I'm still a newb so it fits =o

Any help for the newb? =P Please and thank you's ^_^;
1. You're checking if a mob is a mob. o.O
2. Boolean vars. Yes/True = if(var) or if(!var) for null.
3. We should probably see the IntroMovie proc.
In response to Mysame
its pretty much how i was shown to do it ^_^;;

also, i managed to fix it..in the middle of getting it over to here i thought i'd try putting = 0 after seenmovie_intro..and it worked ^_^;;

Sorry..i'm making a lot of stupid mistakes lately...
In response to JMT
JMT wrote:
Sorry..i'm making a lot of stupid mistakes lately...

Don't be sorry for making stupid mistakes... I made a stupid mistake recently that broke my entire battle system when in a party... I haven't had too much time to look it over yet, but I am sure it'll be a quick and easy solving of a stupid mistake...

My point is, everybody makes mistakes. Even the people that are making the system we are using to make the games. If they didn't make any mistakes, there would be no need for beta testing and so forth. I am pretty sure that they make a stupid mistake every now and then when they are really tired or something too...

Anyways, this is getting off topic and long, so I shall say audieu (sp?)
In response to Mysame
1. You're checking if a mob is a mob. o.O

He needs that check. What if an obj entered the turf?
In response to Jp
She needs that check, thank you very muchly =P
In response to Jp
JP, when passing mob/M as an argument I know if something else but a mobile would enter it'd runtime. Thing is, if(istype(M,/mob)).. The second argument ( /mob ) isn't needed. Not something BIG, but it noticed.
Also, it'd probably be better to use if(ismob(M)) anyway. :/
In response to JMT
Sorry, I'm assuming things I shouldn't. :P