help with assassins creed like game ?!

i am trying to create a game like assassins creed and is going well so far but i want to make a script to burn borgia towers but i can’t do it so what i basically need is help creating a script for when the character touches a certain collier you can press “B” and that it would start a fire particle effect ?? any help here would be much appreciated!:face_with_spiral_eyes:

Sounds like you are a few tutorials short before you’re ready to begin making your own games…

Look into handling keyboard input, onCollisionEnter, and creating Prefabs.
Create your fire particle effect as a prefab and instantiate it when the collision happens.

And instead of posting about that you’re trying to recreate a game it’d make more sense to use a title that suits your problem… it makes it easier for people with the knowledge to recognize they can answer your question (your question’s answer requires significantly less skill then those required to be able to recreate this platformer) and for future reference when people actually use the search function.
Because to be honest, the combination of your question and the title makes me only want to reply “You’re just nowhere near ready for that” since the whole game would be based on the basic principles of what you’re asking us.

What you want to learn is though:
How to detect and use colliders/triggers → http://technology.blurst.com/unity-physics-trigger-collider-examples/
How to detect and use keypresses ( example; if(Input.GetKey"B") {} ) → Unity - Scripting API: Input.GetKey
How to create fire particles and even the two seperate subjects, have been discussed a multitude of times though.

var particleEnabled : boolean = false; //Leave this as false because it won't work if it is true
var fireParticle : ParticleEmitter; //You can put GameObject; instead of ParticleEmitter; if you want to emit/play/do something with the parent objects

function OnCollisionEnter(collision : Collision) {
   if(collision.gameObject.tag == "Player") { //I added "Player" tag because it's default, you can rename it if your character has other tag
      particleEnabled = true;
   }
}

function OnCollisionExit(collision : Collision) {
      particleEnabled = false;
      fireParticle.particleEmitter.emit = false;
}


function Update() {
   if(Input.GetKeyDown("b")  particleEnabled) {
      fireParticle.particleEmitter.emit = true;
   }
   if(Input.GetKeyUp("b")) { //Remove this line of code if you don't want that you have to hold button "b" to play particle emitter (fire)
      fireParticle.particleEmitter.emit = false; //You will also have to remove this line for that
   } //And this one too
}

This code is tested, it works. Good luck with your game!