ID:151041
 
verb
attack(mob/victim as mob in oview(1))
Attack(victim)
icon = 'sayian.dmi'
flick ("Kamehameha")
i want to know, how can i make this work? it says need ()'s or something like that. Whats wrong? I even tried takin gout the icon = 'sayian.dmi'
On 5/30/01 3:10 pm Sariat wrote:
verb
attack(mob/victim as mob in oview(1))
Attack(victim)
icon = 'sayian.dmi'
flick ("Kamehameha")
i want to know, how can i make this work? it says need ()'s or something like that. Whats wrong? I even tried takin gout the icon = 'sayian.dmi'
Try:
verb
attack(mob/victim etc...)
Attack(victim)
flick etc....
Where >>'s are tabs.
Your way should still cause Attack() to go off, though.....


-James
In response to Jmurph
On 5/30/01 4:55 pm Jmurph wrote:
On 5/30/01 3:10 pm Sariat wrote:
verb
attack(mob/victim as mob in oview(1))
Attack(victim)
icon = 'sayian.dmi'
flick ("Kamehameha")
i want to know, how can i make this work? it says need ()'s or something like that. Whats wrong? I even tried takin gout the icon = 'sayian.dmi'
Try:
verb
attack(mob/victim etc...)
Attack(victim)
flick etc....
Where >>'s are tabs.
Your way should still cause Attack() to go off, though.....

James - It would, but flick() would cause a compiler error. =)


Sariat - For future reference, please read the FAQ entry on 'inconsistent indentation'. When you put procs in, make sure that they are in the right spot.