View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000467 | Gameplay + OpenGL | [All Projects] Feature | public | 2017-03-23 05:15 | 2017-03-29 09:34 |
Reporter | Nash | ||||
Assigned To | |||||
Priority | low | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000467: ACS ScriptCall - pass the Activator | ||||
Description | The ability to pass the Activator of the ScriptCall to the called function. | ||||
Tags | No tags attached. | ||||
Added. If the function's first parameter is an Actor, the activator will be passed. Note that no subclasses will be allowed as parameter type! |
|
"Note that no subclasses will be allowed as parameter type!" I don't follow too clearly this part. Can you show what is not allowed by this rule? |
|
The type for the ZScript function's first parameter must be Actor, i.e. not Weapon or PlayerPawn or MyCustomZScriptActor or whatnot. This just means that if you need a particular actor type in the script, you'll need to cast it explicitly. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-23 05:15 | Nash | New Issue | |
2017-03-28 17:42 | Graf Zahl | Status | new => resolved |
2017-03-28 17:42 | Graf Zahl | Resolution | open => fixed |
2017-03-28 17:42 | Graf Zahl | Note Added: 0001152 | |
2017-03-28 18:09 | Nash | Note Added: 0001153 | |
2017-03-29 09:34 | Xaser | Note Added: 0001167 |