GSC reference › Built-in
AddOrientedInfluencer()
Built-in (engine)
Server
Adds a new influencer of <name> at <origin> and <angles>
Signature
AddOrientedInfluencer(<name>, <origin>, <angles>, <team mask>)
Parameters
| Name | Required? | Details |
|---|---|---|
| name | Required | valid spawn influencer preset name. |
| origin | Required | center point of the influencer |
| angles | Required | angles of entity |
| team mask | Required | teams that this influencer will affect |
Example (from Treyarch's docs)
influencer_id = AddOrientedInfluencer( name, origin, angles, allies_mask )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- EnableInfluencer()Enables or disables the given influencer
- SetInfluencerTeamMask()Sets the team mask for the given influencer
- RemoveInfluencer()Removes the given influencer
- AddEntityInfluencer()Adds a new influencer of <name> attached to <entity>
- AddInfluencer()Adds a new influencer of <name> at <origin>
- GetInfluencerPreset()Adds a new influencer of <name> at <origin> and <angles>
- SetInfluencerTimeout()Sets the timeout for the influencer in seconds from current time
- GetInfluencerTimeoutRemaining()Gets the remaining influencer timeout in milliseconds.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).