Message 1 of 5
Not applicable
05-09-2016
07:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello i am trying to change the camera position in basic project F2mode by useing player_hud UI,
i set two button, one is for camera1 and another is for camera3 in template_hud.2sd
i changed each handler.lua like this
and then i added lines in PlayerHud.lua
and i added checking function in player.lua
like above, i tried to move charactor which is set to move with camera.
but i got the error about unit_index
i can know something wrong with player.lua, i hope if someone can give an advice.
Solved! Go to Solution.
Reply
Reply