Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Making a "steal" skill

bucalo

Member

this seem very difficult. ok so i make a skill named steal and make a common event for the skill but not sure how to set it to take a item that a enemy has. im sure i use use the

Contorl Variables: [####] Random No. (1...10)
Conditional Branch: Variable [####] ==10
????
????

Else
????
?????

how would i make a character be able to steal a random item the target enemy has. how this is possible or else i would have to just add moeny this way with more possibles... but would like to add item stealing
 
maybe set a variable for how much money each monster would have . like

var goblin_gold=24

Contorl Variables: [####] Random No. (1...10)
Conditional Branch: Variable [####] ==10
goblin_gold - 24
change gold +24

Else

message: fail
enter battle




this is how i would do it. But im a moron so i suggest you dont listen
 

bucalo

Member

ok but i want to set Steal to take items that different monster have. and where do i set

var gobin_gold=24 at

is that a common event that can applys for all gobin's..

by the way im new do i might get lost while you try to expain this too me
 

bucalo

Member

ok a script. i dont know how to apply scripts yet but im asking. probally still exist into i learn how to apply script or learn a way to do it without the script.
 
personally I think he should learn the basics of the engine before using scripts. This is a common problem with new users. Someone shows them a script and they think scritps do everything for them. True story, someone asked me once if there was a script to tint the screen color.
 

bucalo

Member

who is he? lol ... oh me... i dont assume scrpits do most thing.. just most hard things..lol i dont know how to tent screen.. other then the event thingie i made and everything was a shade of green but i know a script is need for a steal skill either that a common event that takes item from monster but i dont know how to do either so i still wont get skill yet i guess
 

bucalo

Member

it no fun praticing without a game in mind. and its no fun not being about to add features without scripting. :P im working around the scripting part now but would like to have some other featues in the game. even if its a pratice demo game :D
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top