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.
Making NPC's move and attack
- Leo_V117
- Support Team
- Posts: 1640
- Joined: February 16th, 2010, 8:00 pm
- Name: Leo
- IRC Username: Leo_V117
- Location: That one place...
- Contact:
-
- 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: Making NPC's move and attack
To lock the edit mode, I'd ask Damian as he used some code for TGC pertaining to locking edit mode!James Payne wrote:Thanks Arc! But how to lock the edit mode?
Arc


Want a user bar like this one? PM Leo!
- James Payne
- Member
- Posts: 20
- Joined: April 24th, 2010, 8:43 am
- Name: James
Re: Making NPC's move and attack
Thanks! Hope to see ur answer soon! Can i ask again... How to make a spell assign to the player beginning of the game without open the tab menu and equip it?
-
- 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: Making NPC's move and attack
These are great questions James!
Arc

I don't believe I can answer that one without some scripting help... so, sorry, I can't help with that oneJames Payne wrote:How to make a spell assign to the player beginning of the game without open the tab menu and equip it?

Arc


Want a user bar like this one? PM Leo!
- James Payne
- Member
- Posts: 20
- Joined: April 24th, 2010, 8:43 am
- Name: James
Re: Making NPC's move and attack
Oh Thanks btw... I saw others can script to let the player reduce health -1persecond... How to do that pls?
- James Payne
- Member
- Posts: 20
- Joined: April 24th, 2010, 8:43 am
- Name: James
Re: Making NPC's move and attack
Someone pls help me...!
-
- 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: Making NPC's move and attack
EDIT:
That code is for an RPG spell. When used, it will increase speed and health. An effect of this is increased jump height. This is only used in RPG mode.
Hope that helps!
Arc
Code: Select all
spawn_spell2 = [
r_type $ENT_SPELL
r_icon gainhealth
r_description "heals and boosts your movement speed"
r_name "morale boost"
r_spell_type $STYPE_SELF
r_spell_cost 20
r_spell_range 32
r_spell_effect 3
r_addeffect $STATUS_HEALTH 30 20000
r_addeffect $STATUS_MOVE 20 20000
r_interact [
r_select $rpginteract
r_pickup $rpgself
]
]
Hope that helps!
Arc


Want a user bar like this one? PM Leo!
- James Payne
- Member
- Posts: 20
- Joined: April 24th, 2010, 8:43 am
- Name: James
Re: Making NPC's move and attack
Erm... I know... But i dun wan the spells... I just wan to make the character lose health persecond...
-
- 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: Making NPC's move and attack
Then coding will be involved if you want it in FPS mode. That's going to require a health bar and some code that will take health away. So in either case coding will be required...

Want a user bar like this one? PM Leo!
- James Payne
- Member
- Posts: 20
- Joined: April 24th, 2010, 8:43 am
- Name: James
Re: Making NPC's move and attack
Can i do this in RPG?