ninjaalamode
New Member
- Reaction score
- 0
First, contrary to the thread title, I'm going to ask for help with cameras. I've gotten the camera (with help from a friend) to stay locked on a unit throughout the game, but when the unit dies and respawns the camera spazzes out switching between the place the unit used to be and the place the new unit is at. The trigger itself is:
The player controls a max of one unit throughout the game (which changes into different units over time), that's why it's a random unit since there is only one unit the camera could lock onto. Help please?
The second problem I'm having is with making a random encounter trigger working. What I was using, but didn't work at all was something like:
There I was just trying to get a basic random transport to the battle area because I figured it would easy to get the battle working once I got the random transporting done, but when I finished I was going to change it to include all current player owned units (owned by a user) transported to the battle area. So, could anyone please help me out with this?
Edit: Oops, I misspelled "random" on the thread title, sorry about that.
Event: Time- every 0.10 seconds of gameplay
Conditions:
Actions: Camera- apply camera [1] for player (red) over 0.00 seconds
Camera- Lock camera target for Player 1 (red) to (random unit from(units owned by player 1 red)) bye offest (0.00, 0.00, 0.00)
Conditions:
Actions: Camera- apply camera [1] for player (red) over 0.00 seconds
Camera- Lock camera target for Player 1 (red) to (random unit from(units owned by player 1 red)) bye offest (0.00, 0.00, 0.00)
The second problem I'm having is with making a random encounter trigger working. What I was using, but didn't work at all was something like:
Event: Every 1 second of gameplay
Condition: random unit from player group player red is in world map
Action: If variable random_number is a random number 1-10 then move random unit from player group player red to center of battle 1 start
Condition: random unit from player group player red is in world map
Action: If variable random_number is a random number 1-10 then move random unit from player group player red to center of battle 1 start
Edit: Oops, I misspelled "random" on the thread title, sorry about that.