[System] First Person

Jesus4Lyf

Good Idea™
Reaction score
397
First Person​
Version 1.0.0​

Requirements:
- Smooth Timers (import first)

See attached SC2Lib file.
Grants WSAD control of a unit with first person mouse look.

Trigger:
  • FirstPersonExample
    • Events
      • Timer - Elapsed time is 1.0 Game Time seconds
    • Local Variables
    • Conditions
    • Actions
      • Unit - Create 1 Drone for player 1 at (Start location of player 1) facing 270.0 degrees (No Options)
      • SetFirstPerson(1, (Last created unit))
      • General - Wait 15.0 Game Time seconds
      • SetFirstPerson(1, null)

Simple example, as it only exposes one action: SetFirstPerson(player integer, unit)
Set to null unit to revert.
 

Attachments

  • FirstPerson.zip
    12 KB · Views: 267

Cookiemaster

New Member
Reaction score
36
I close my map.

I Generate a new one. (64x64, with terrain)

I import SmoothTimers library.
I import FirstPerson library.

I hit test map.

COMPILE ERRORS

My guess would be that you need to assign Library ID's for this to work properly.

EDIT:

The function seems "Apply" in firstperson is being named "lib<LIBRARYID>_gf_Apply", so yeah. It's probably looking at the wrong libid.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
How horrible. :(
Can you figure out how to stitch it up/help me investigate why it breaks when it's exported? The id for Smart Timers should be J4ST, and the ID for First Person should be J4FP.

Setting those ID's manually changed nothing...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top