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.
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Can i select specific RPG character?
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
Re: Can i select specific RPG character?
I can cheat to do that... find a trapdoor model on quadropolis.us or whatever it is... Use the largest trapdoor and create a hole in the terrain at exactly the same size. Place the trapdoor so that the cross between terrain and the model is smooth and you do not step up... Create a room below the trapdoor and place the "Respawn" material directly below the trapdoor. Add a layer of terrain at g-size 1 above the trapdoor and select the entire layer and press "CTRL+N" that creates a noclip material. Select the trapdoor and press F3, set the trigger type to 11 and the trigger tag as 11, create a switch above the trapdoor and set it as model -1, trigger type 10 and trigger tag 11, test it and you should be able to walk accross the trapdoor until the switch is "Hit", spawn the 2 characters around the switch and save the map. It should have the desired effect.
Hope this helps.
- Leo
Hope this helps.
- Leo
Game Projects
Sandbox Tools
Re: Can i select specific RPG character?
Hey thx a lot Leo. Now i can try killing them with that.
However if i just wanna reduce thier life, is it possible?
However if i just wanna reduce thier life, is it possible?
-
- Support Team
- Posts: 2734
- Joined: January 13th, 2010, 12:42 pm
- Name: Timothy
- IRC Username: I use Steam
- Location: Looking over your shoulder...
- Contact:
Re: Can i select specific RPG character?
I would try finding the source code for their health, and then try modifying it.

Want a user bar like this one? PM Leo!