pokemon battle start

hi i would like to know how can i initiate battle like pokemon using triggers?

Well I’m pretty sure if you have a gridbased system like pokemon, you would just have an OnMove method, that checks the the tile you are moving to for a ‘probability’ of triggering an attack. Then if some random number is less than that probability, you initiate the attack sequence.

If you want to do it with triggers, you would give each ‘attack’ square a trigger with some tag like ‘attackTrigger’ and then do something like:

void OnTriggerEnter(Collider c){
		if(someProbability < Random.value){