Can i select specific RPG character?
Posted: June 6th, 2010, 1:53 am
Can i select specific created spawned characters so that i can do something with them.
eg.
r_select 0
r_kill
this will select me and kill me right?
r_interact {
r_select $rpgself
r_kill
]
this will kill the spawned character when i interact with it right.
But if i've created a lot of spawned characters.
I wanted to kill one by one automatically.
Eg.
level_trigger_1 = [
r_select 0
r_kill
r_select 1
r_kill
r_select 2
r_kill
]
above is not applicable.
how to do it so that once i stepped on a trigger three characters including me and 2 spawned characters will die in that instant.
eg.
r_select 0
r_kill
this will select me and kill me right?
r_interact {
r_select $rpgself
r_kill
]
this will kill the spawned character when i interact with it right.
But if i've created a lot of spawned characters.
I wanted to kill one by one automatically.
Eg.
level_trigger_1 = [
r_select 0
r_kill
r_select 1
r_kill
r_select 2
r_kill
]
above is not applicable.
how to do it so that once i stepped on a trigger three characters including me and 2 spawned characters will die in that instant.